CODE

Description

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.

Examples

This function returns 65:

CODE("A")

This function returns 98:

CODE("b")

See also

CHAR