CHAR

Syntax: character = CHAR(scalar)
string = CHAR(vector)

The CHAR function accepts either a numeric vector or a numeric scalar as argument. It converts these ASCII decimal codes to the equivalent characters and returns these characters as a string. The inverse of this function is the ICHAR function.

Example

function result
CHAR(97) a
CHAR([97:100]) abcd