getLegalCharacterSet |
Returns the legal character set for the string
Syntax
stringFormatObj.setLegalCharacterSet(sLegalCharSet)
Parameters
NA
Return Value
Returns the legal 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.setLegalCharacterSet("[\s#\/\"\'&%^@!|\>\<\=\;\?\(\)$+*-]"); stringFormat.getLegalCharacterSet();