Lexical Class
- Updated2023-02-17
- 1 minute(s) read
Lexical Class
Returns the class of a character. If the character is a number, this node interprets it as the ASCII value of a character.
Inputs/Outputs

character
A scalar string or number, clusters of strings or numbers, arrays of strings or numbers, and so on.

class
Number that corresponds to the lexical class of the first character in a string.
| Non-ASCII |
All non-ASCII characters |
| Non-printable ASCII |
A non-printable ASCII character (codes 0 through 31 excluding 9 through 13) |
| White Space |
Any number of white spaces |
| Digits |
Digits 0 through 9 |
| Uppercase |
Uppercase letters A through Z |
| Lowercase |
Lowercase letters a through z |
| Printable Non-alphanumeric |
All printable ASCII non-alphanumeric characters |