CODE

Description

CODE returns a numeric code representing the first character of the supplied string.

Syntax

CODE ( text )

 

Parameter

Description

text

Any string.

Remarks

The numeric code and associated string are defined in your computer's character set. The character set used by Windows is the ANSI character set.

Examples

This function returns 65:

CODE("A")

This function returns 98:

CODE("b")

Also, see

CHAR