syntax:functions:code
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:code [2019/12/06 06:35] – dmitry | syntax:functions:code [2021/08/14 21:56] (current) – [Examples] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Code(text)===== | + | ====== Code(text) ====== |
+ | Category: | ||
- | Returns | + | \\ |
+ | =====Description===== | ||
+ | This function returns | ||
- | Attempting to get the code of a character with UTF-8 code greater than 2047 will result in error "# | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |text|Text|A text string from which the UTF-8 value of the first character | ||
- | Example: | + | **Return value type:** Number |
- | ^ Expression ^ Result ^ | + | |
- | | code(" | + | |
- | **See also** | + | \\ |
- | * [[syntax: | + | =====Remarks===== |
+ | Attempting to get the code of a character with UTF-8 code greater than 2047 will result in an "# | ||
+ | \\ | ||
+ | =====Examples===== | ||
+ | code(' | ||
+ | |||
+ | code(' ') //Returns 32 (Space character) | ||
+ | |||
+ | code(' | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: |
syntax/functions/code.1575632159.txt.gz · Last modified: 2019/12/06 06:35 by dmitry