CODE

  • Updated

Returns the numeric Unicode map value of the first character of the string.

Sample Usage

CODE(" ")
CODE("Berlin")
CODE(C5)

Syntax

CODE(text)

  • text - The string whose first character’s Unicode map value is to be found. 

 

Examples

CODE(" ") returns the Unicode number corresponding to a blank space - 32. 
CODE("Berlin") returns the Unicode number corresponding to the first character 'B' and returns 66. 
CODE("Baghdad") also returns 66. 
CODE(C5) returns the Unicode number corresponding to the first character of the given text C5.