setMinLength |
Sets the minimum length of the string
Syntax
stringFormatObj.setMinLength(sMinLength)
Parameters
Parameter |
Description |
---|---|
sMinLength |
Required. The minimum length has to be set. |
Return Value
No return value
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.setMinLength("10");