CODE

Syntax:

CODE ( string )

Description: Determines the numeric code of the first character in string.

Arguments:

Name

Type

Description

string

text

Designates a string containing one or more characters.

Return Type and Value: number – The numeric code of the first character in string.

However, if string is empty, #VALUE! is returned.

example: