CHR†
Format†
CHR( val [, val ... ] )
Function†
- If you specify a UCS-2 code as an argument (numeric), it will return the corresponding character as a string.
- Multiple numbers can also be specified, in which case a string of the specified length is returned.
- This means that if you pass a general purpose array, it will return a string.
- UCS-2 codes are compatible with ASCII codes within the range of ASCII characters (single byte characters, alphanumeric).
Arguments†
- val
- UCS-2 code (numeric) to be converted
Return value†
- If successful, the converted character or string
- In the case of an error, nothing is returned (VOID)
Related†
Version†
- YAYA: Available from the start
- Available in AYA5.8
Example†
CHR(65) // Outputs the string "A"
CHR(20282) // Outputs the string "伺"