Ascii
Contains common operations for character conversion & such.
Functions
All the current functions of the Ascii module.
ascii(code: number)
Returns the character from its given code point number.
Ascii.ascii(65); //A
code(character: string)
Does the reverse of the previous explained function. It returns the code point of the given character, otherwise it returns an error.
Ascii.code("A"); //65
Ascii.code("AA"); //error.
Properties
All the current properties of the ascii module.
Alphabetics
upper and lower.
//ABCDEFGHIJKLMNOPQRSTUVWXYZ
Ascii.upper;
//abcdefghijklmnopqrstuvwxyz
Ascii.lower;
Numerical representations
Contains digits, hex and octal.
//0123456789
Ascii.digits;
//0123456789abcdefABCDEF
Ascii.hex;
//01234567
Ascii.octal;
Punctuation
Represents the considered punctuation characters that are local to C.
Ascii.punctuation;
//!#$%&'()*+,-./:;<=>?@[\\]^_`{|}~