getMaxLength |
Returns the maximum length of the string
Syntax
stringFormatObj.getMaxLength()
Parameters
NA
Return Value
Returns the maximum length of the string
Example
The following example displays how this method is used.
importType("wcp.library.util.LocaleFormat"); importType("wcp.library.util.StringFormat"); var numberFormat = new StringFormat(elmt); numberFormat.setMaxLength("10"); numberFormat.getMaxLength();