char

Syntax

char(X)

Arguments

X can be of any data type.

Details

Convert the input to the data type of CHAR.

Examples

$ x=char();
$ x;
00c
$ typestr x;
CHAR

$ a=char(99);
$ a;
'c'
$ typestr a;
CHAR
$ char(a+5);
'h'