Returns the character corresponding to the specified Unicode code.
MyCharacter is UNICODE string
MyCharacter = CharactUnicode(49) // Returns "1"
MyCharacter = CharactUnicode(87) // Returns "W"
Trace(Asc(Middle("読みます", 1, 1))) // Displays 35501
Trace(CharactUnicode(35501)) // 読
Syntax
<Result> = CharactUnicode(<Unicode code to convert>)
<Result>: Unicode string
Character corresponding to the specified Unicode code.
<Unicode code to convert>: Integer
Value to convert. A WLanguage error occurs if the value is invalid.
Remarks
Avoid using CharactUnicode
The following preset constants avoid the use of CharactUnicode:
| | |
Constant | Value | Function |
---|
CR | Charact(13) + Charact(10) | Carriage Return |
ESC | Charact(27) | Esc key |
SPC | Charact(160) | Non-breaking space |
TAB | Charact(9) | Tabulation |
Business / UI classification: Neutral code