User Tools

Site Tools


syntax:functions:code

Code(text)

Returns the UTF-8 code (from 0 to 2047) of the first character of the given text string.

Attempting to get the code of a character with UTF-8 code greater than 2047 will result in error “#Exotic character”.

Example:

Expression Result
code(“ABC”) 65

See also

syntax/functions/code.txt · Last modified: 2019/12/06 11:35 by dmitry