CODE (ANSI code of a character)

<< Click to Display Table of Contents >>

CODE (ANSI code of a character)

Syntax:

CODE(Text)

Description:

This returns the ANSI code of the first character in the specified text string.

Example:

CODE("A") returns 65

CODE("Arthur") also returns 65

CODE(CHAR(123)) returns 123

CODE("") returns 0

See also:

CHAR