string.spad line 1 [edit on github]
This domain provides the basic character data type.
alphabetic?(c) tests if c is a letter, i.e. one of a..z or A..Z.
alphanumeric?(c) tests if c is either a letter or number, i.e. one of 0..9, a..z or A..Z.
char(i) provides a character corresponding to the integer code i. It is always true that ord char i = i.
char(s) provides a character from a string s of length one.
digit?(c) tests if c is a digit character, i.e. one of 0..9.
hexDigit?(c) tests if c is a hexadecimal numeral, i.e. one of 0..9, a..f or A..F.
lowerCase(c) converts an upper case letter to the corresponding lower case letter. If c is not an upper case letter, then it is returned unchanged.
lowerCase?(c) tests if c is an lower case letter, i.e. one of a..z.
newline() provides the newline character.
ord(c) provides an integral code corresponding to the character c. It is always true that char ord c = c.
quote() provides the string quote character, ".
space() provides the blank character.
underscore() provides the underscore character, _, which is used to allow quotes and other characters within strings.
upperCase(c) converts a lower case letter to the corresponding upper case letter. If c is not a lower case letter, then it is returned unchanged.
upperCase?(c) tests if c is an upper case letter, i.e. one of A..Z.