Skip to content

char

builtin · libnexusinterp/corefcn/strfns-proprietary.cc

: s = char (x)
: s = char (a, b, …)
: s = char (c)

Create a character array.

A numeric x becomes the characters with the (rounded) codes in x. Cells and multiple arguments are stacked into the rows of one char matrix, each row padded on the right with blanks to the longest one. An empty string argument yields a blank row.