CODE
Returns the numeric code for first character of given string.
Syntax
=CODE(Text, [CharacterSet])
Arguments
| Name | Description | 
|---|---|
| Text | A string for which to return the code of its first character. | 
| CharacterSet (optional) | A string which specifies the character set to use for converting the character. Only the 'ansi' alias 'cp1252' set is currently supported. If no character-set is specified 'ansi' is used by default. | 
Return
The numeric code of first character of specified text.
Examples
| Formula | Result | Comment | 
|---|---|---|
|  | 65 | |
|  | 128 | |
|  | 128 |