You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
unicode_from_char
Returns the unicode code point for a given character. The character is a string, but it should only be 1 code point character (which may be length(@character) == 2).
Vital Info
Name | unicode_from_char |
---|---|
Returns | int |
Usages | character |
Throws | ms.lang.CastException ms.lang.RangeException |
Since | 3.3.1 |
Restricted | No |
Optimizations | None |
Usages
unicode_from_char(character)
Examples
Example 1
Basic usageGiven the following code:

The output would be:
:2665
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)