codepointToNum | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Converts a Unicode codepoint to an integer. | ||||||
Introduced | 7.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Function: nativeCharToNum, codepointProperty, numToNativeChar, normalizeText, numToCodepoint | ||||||
Description | Use the codepointToNum function to translate a Unicode codepoint to its integer represntation. The codepointToNum function takes a Unicode codepoint and returns its integer value. The codepointToNum function raises an exception if the argument contains multiple codepoints; it should generally be used in the form: codepointToNum(codepoint x of string) Codepoints that are not currently assigned to characters by the latest Unicode standard are not considered to be invalid in order to ensure compatibility with future standards. |