pp108 : getIllegalCharacterSet

getIllegalCharacterSet


Returns the illegal character set for the string

Syntax

stringFormatObj.getIllegalCharacterSet()

Parameters

NA

Return Value


Returns the illegal character set for the string

Example


The following example displays how this method is used.

importType("wcp.library.util.LocaleFormat");

importType("wcp.library.util.StringFormat");

var stringFormat = new StringFormat(elmt);
stringFormat.setIllegalCharacterSet("[\s#\/\"\'&%^@!|\>\<\=\;\?\(\)$+*-]");
stringFormat.getIllegalCharacterSet()

See Also


StringFormat, Locale