Method Summary |
public static
| argbToHex (
n: Number
): String |
| Converts an argb color to hex string
|
|
public static
| csvToArray (
str: String
): Array |
| Convert a simple CSV row string to an array
|
|
public static
| ellipsis (
str: String, maxlen: Number
) |
| Formats a string to use ellipsis (...) if it exceeds maxlen
|
|
public static
| escapeHTML (
str: String
) |
| Escape HTML string
|
|
public static
| formatNationalPhoneNumber (
p: String
): String |
| Formats an national phone number
|
|
public static
| formatPhoneNumber (
p: String
): String |
| Formats an international phone number
|
|
public static
| isDigit (
ch
): Boolean |
| Determines if the character is a digit
|
|
public static
| isSpace (
ch
): Boolean |
| Determines if the character is a space character
|
|
public static
| normalize (
str: String
): String |
| Normalize whitespace in a string
|
|
public static
| replace (
str: String, findStr: String, replaceStr: String
): String |
| Replace text in a string with other text
|
|
public static
| rgbToHex (
n: Number
): String |
| Converts an rgb color to hex string
|
|
public static
| strip (
str: String, findStr: String
): String |
| Strps all instance of findStr from a string
|
|
public static
| stripSpace (
str: String
): String |
| Strip space from a string
|
|
public static
| trim (
str: String
): String |
| Left and Right Trims a string of whitespace
|
|
public static
| unescapeHTML (
str: String
) |
| Unescape HTML string
|
|
public static
| zeroPad (
num: Number, digits: Number, trailing: Boolean
): String |
| zero pads a string
|
|
|