The string-formatting function StrLib.characterAsInt converts a character string into an integer string corresponding to the first character in the character expression.
StrLib.characterAsInt(text STRING in) returns (result INT)
To convert an integer string into a character string, use the StrLib.integerAsChar string-formatting function.
Related reference
EGL library StrLib
integerAsChar()