Returns a string containing the character with the given Unicode code.



Argument Description
val The Unicode code to get the string from.

Returns: String


This function returns a string containing the character which relates to the input Unicode code for displaying. This character depends on the current drawing font's character set codepage and if no font is set, it will use the default code page for the machine.


mystring = chr(53) + chr(48);

This would set mystring to "50" (a string, not an integer) as chr(53) is "5" and chr(48) is "0".

Back: Strings
Next: ord
© Copyright YoYo Games Ltd. 2018 All Rights Reserved