User Tools

Site Tools


syntax:functions:code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
syntax:functions:code [2019/12/06 06:34] – created dmitrysyntax:functions:code [2019/12/06 06:35] dmitry
Line 1: Line 1:
 =====Code(text)===== =====Code(text)=====
  
-Returns the UTF-8 code (from 0 to 2027) of the first character of the given text string. +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 2027 will result in error "#Exotic character".+Attempting to get the code of a character with UTF-8 code greater than 2047 will result in error "#Exotic character".
  
 Example: Example:
 ^ Expression ^ Result ^ ^ Expression ^ Result ^
 | code("ABC" |  65| | code("ABC" |  65|
syntax/functions/code.txt · Last modified: 2021/08/14 21:56 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki