The ASCII function takes a single argument of any character data type and returns an integer based on the first character data


func.ascii(text) → integer

Returns the numeric code of the first character of the argument. In UTF8 encoding, returns the Unicode code point of the character. In other multibyte encodings, the argument must be an ASCII character.


func.ascii('x') → 135
Last modified April 06, 2022 at 10:08 AM EST: Initial Documentation Commit (371ae8f)