-
-
Notifications
You must be signed in to change notification settings - Fork 18
chr
CryoEagle edited this page Dec 26, 2018
·
5 revisions
Returns a string containing a character with given Unicode code.
chr(val)
Argument | Description |
---|---|
int val |
Unicode code to get the string from |
Returns: 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