rbv_api.formatUsingMask()
Purpose
Formats a string containing digits as specified in the mask parameter.
Syntax
rbv_api.formatUsingMask(value, mask)
Parameters
value
The string to format
mask
The input mask, which uses # as a placeholder for a digit
Example
var x = rbv_api.formatUsingMask("123456789", "###-##-####");
Result: 123-45-6789