The asc( function converts the first character of a text string into a number from 0 to 65535 based on Unicode encoding.
Parameters
This function has one parameter:text – The text string.
Description
The asc( function converts the first character of a text string into a number from 0 to 65535 based on Unicode encoding. For numbers from 0 to 127 Unicode encoding is the same as ASCII encoding.
asc("A") ☞ 65
asc("a") ☞ 97
asc("abc") ☞ 97
asc("⨗") ☞ 10775
asc("⪽") ☞ 10941
asc("€") ☞ 8364
See Also
History
Version | Status | Notes |
10.0 | Updated | Carried over from Panorama 6.0, but now supports entire Unicode 16 character set. |