Character.ToNumber
Character.ToNumber(character as nullable text) as nullable number
Returns the number equivalent of the character, character
.
The result will be the 21-bit Unicode code point represented by the provided character or surrogate pair.
Convert a character to its equivalent number value.
Usage
Character.ToNumber("#(tab)")
Output
9
Convert the UTF-16 surrogate pair for the "grinning face" emoticon to its equivalent hexadecimal code point.
Usage
Number.ToText(Character.ToNumber("#(0001F600)"), "X")
Output
"1F600"