Returns a string containing a character with given Unicode code.
chr(val)
int val
Returns: string
string
This function returns a string containing the character based on the input Unicode code and can then be displayed.
string str = chr(69) + chr(120) + chr(101);
This would set str to a string value of “Exe” because 69 is the Unicode code for “E”, 120 for “x”, and 101 for “e”.
Back to strings
There was an error while loading. Please reload this page.