chr()

The chr() method returns the Char character for the specified numerical unicode value or UTF16 code. It is provided for legacy/compatibility reasons, and really performs no useful function that is not also easily accomplished by simply doing a type cast from integer to char.

Syntax:

method chr(aCode: Integer): Char;
char chr(int code);
func chr(_ code: Int) -> Char
Char chr(int code);

See Also