CODE (ANSI code of a character)

Navigation:  Formulas and functions > Functions from A to Z >

CODE (ANSI code of a character)

Previous pageReturn to chapter overviewNext page

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