ascii

Returns a number representing the ASCII code value of the leftmost character of "string_exp", e.g., ascii('A') is 65.

Syntax

ascii ( string_exp )