Skip to content
drewmccluskey edited this page Nov 28, 2018 · 5 revisions

chr

Returns a string containing a character with given Unicode code.

Syntax:

chr(val);
Argument Description
val Unicode code to get the string from.

Returns: String

Description

This function returns a string containing the character based on the input Unicode code and can then be displayed.

Example:

//any event
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

Clone this wiki locally