Char Class
Namespace: Stimulsoft.System
Methods
| Method | Returns | Description |
|---|---|---|
getUnicodeCategory static |
number | |
isControl static |
boolean | |
isDigit static |
boolean | |
isLetter static |
boolean | |
isLetterOrDigit static |
boolean | |
isLower static |
boolean | |
isUpper static |
boolean | |
isWhitespace static |
boolean | |
toLower static |
string | |
toUpper static |
string |
Method Details
getUnicodeCategory static
getUnicodeCategory(char: string, index: any): number
Parameters
- char (string)
- index (any)
Returns number
isControl static
isControl(char: string, index: any): boolean
Parameters
- char (string)
- index (any)
Returns boolean
isDigit static
isDigit(char: string | number, index: any): boolean
Parameters
- char (string | number)
- index (any)
Returns boolean
isLetter static
isLetter(char: string, index: any): boolean
Parameters
- char (string)
- index (any)
Returns boolean
isLetterOrDigit static
isLetterOrDigit(char: string, index: any): boolean
Parameters
- char (string)
- index (any)
Returns boolean
isLower static
isLower(char: string, index: any): boolean
Parameters
- char (string)
- index (any)
Returns boolean
isUpper static
isUpper(char: string, index: any): boolean
Parameters
- char (string)
- index (any)
Returns boolean
isWhitespace static
isWhitespace(char: string, index: any, allowNbsp: any): boolean
Parameters
- char (string)
- index (any)
- allowNbsp (any)
Returns boolean
toLower static
toLower(char: string): string
Parameters
- char (string)
Returns string
toUpper static
toUpper(char: string): string
Parameters
- char (string)
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| cat | any | |
| cat | any | |
| uc | any | |
| uc | any | |
| uc | any | |
| uc | any |