See Also: String Functions, Character


Ascii returns the code point of a specified character.

Return Type



(Ascii( {character} ))

What It Does

ASCII returns the number of the character according to the Unicode standard. Up until character 127 this matches the ASCII table. See for an overview of all the available characters and symbols. Note that code points are commonly displayed as hexadecimal value where integers are usually displayed in decimal form.

Note that for composite characters (characters build from multiple code points) the ASCII function returns the first code point. Use NormalizeString to make sure accented characters are normalized to a single code point.

Move (Ascii("©")) to iCopyright

In this example iCopyright will contain 169.