ord(string)

Returns the ordinal (numeric) value of the ASCII character code for the first character in the string. For example, $ord('a') returns 97.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.