CODE (ANSI code of a character)

<< Click to Display Table of Contents >>

CODE (ANSI code of a character)

Syntax:

CODE(Text)

Description:

Returns the ANSI code of the first character in the specified text string.

Example:

CODE("A") returns 65

CODE("Arthur") returns 65 as well

CODE(CHAR(123)) returns 123

CODE("") returns 0

See also:

CHAR