nulib.text.ascii

ASCII Helpers

Members

Functions

isASCII
bool isASCII(char c)

Gets whether the character is ascii

isAlpha
bool isAlpha(char c)

Gets whether the character is alphabetic.

isAlphaNumeric
bool isAlphaNumeric(char c)

Gets whether the character is alpha-numeric.

isDigit
bool isDigit(char c)

Gets whether the character is numeric.

isEscapeCharacter
bool isEscapeCharacter(char c)

Gets whether the character is an ASCII non-printable escape character

isHex
bool isHex(char c)

Gets whether the character is a hexidedcimal digit

isLower
bool isLower(char c)

Gets whether the given character is lowercase.

isPrintable
bool isPrintable(char c)

Gets whether the character is printable

isUpper
bool isUpper(char c)

Gets whether the given character is uppercase.

toLower
char toLower(char c)

Converts the given ascii character to lowercase.

toUpper
char toUpper(char c)

Converts the given ascii character to uppercase.

Meta

Authors

Luna Nielsen