code
Numeric character code of the first character.
Syntax
Section titled “Syntax”v = code(text)Description
Section titled “Description”Returns the numeric character code (Unicode for non-ASCII, ASCII for plain) of the first character of text. Inverse of char.
Example
Section titled “Example”code('A') % 65See also
Section titled “See also”char— Character with the given numeric code (Excel-compatible).