|
Previous Top Next |
Prototype: | (String pDepunct) |
pDepunct | String 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.