CODE(text)

The CODE function returns the numeric code for the first character in a text string. The code corresponds to a character in ASCII.

For example:

CODE("W")

and

CODE("Wittgenstein")

both return 87.

See also:

Other text functions