CHRCODE

Format

CHRCODE( string [ , pos ] )

Function

Arguments

string
The string for which you want to know the UCS-2 code
pos
The position of the character whose code is desired (first character = 0). Can be omitted. If omitted, it is treated as if 0 is specified.

Return value

Related

Version

Example

CHRCODE('A') // Returns the integer `65`
CHRCODE('ABC', 2) // Returns the integer `67`
CHRCODE('伺') // Returns the integer `20282`