ChrW
Returns the character that corresponds to a Unicode character code (sometimes called the code point).
Syntax
ChrW(<value>)
Parameters
<value>
Type: Type: Long
Unicode character code for a character.
(return)
Type: Type: Text
Character corresponding to <value>.
Notes
Valid Unicode character codes are integers from 0 to 65535. An error occurs if <value> is less than 0 or greater than 65535.
If the current data value is NULL, <value> is 0 and the return value is a string containing a single null character. ChrW cannot distinguish between a 0 received for a NULL value and an actual 0 passed in.
All values in the range 0-65535 are treated as valid Unicode characters, even though some of these values are not currently assigned as Unicode characters. In addition some values correspond to non-printable characters. The returned character is displayed correctly only if the font you are using supports that character.
Example
This example uses the ChrW function to return the character for a specified character code:
ChrW(97)
The return value is “a”.
See also