www.icetips.com  Icetips Utilities Documentation 7/6/2014    

String Class:  SetDepunctuationString

Previous  Top  Next  


Prototype: (String pDepunct)

 

pDepunctString of punctuation characters to replace with spaces when using the DepunctuateString method

 

This method is used to set the DepunctuationString property which is used in the DepunctuateString method to determine what characters to replace with space.  This is very useful when using the StringToWords to control what characters are considered to split words.  Note that this method replaces the punctuation string used to determine punctuation.

 

Example:

ITS  ITStringClass

Code

ITS.SetDepunctionationString('/;:|')

ITS.DepunctuateString('This;that:other|there)

!! By setting the depunctuation string the ;: and | in the string will be replaced with a space.

 



Direct link to this page: http://www.icetips.com/manuals/utilities/setdepunctuationstring_stringclass.htm