ascii

Returns a number representing the ascii code value of the leftmost character of "string_expression"; for example, ascii ( 'A' ) is 65.

Syntax

ascii ( string_expression )