CODE function

CODE returns a numeric code for the first character in a text string.

Syntax

CODE (text)

text is the text for which the code of the first character is to be found.

Example

=CODE("Hieronymus") returns 72.

=CODE("hieroglyphic") returns 104.

Note: The code used here does not refer to ASCII for the first character, but to Unicode.