User Tools

Site Tools


syntax:functions:code

This is an old revision of the document!


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
syntax/functions/code.1575632111.txt.gz · Last modified: 2019/12/06 06:35 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki