Docly Developers
Function Updated 17 Oct 2026

Chr(code, ...)

Returns a string made of the characters for the given character codes. Call it as chr(...). Takes any number of codes; a value that is not a whole number is skipped.

Parameters

codenumberrequired

Char code to convert to.

...required

Another char, for as many chars as you like.

Returns

Returns a string with specified character codes.

Example

Mixed HTML (or any text file) with inline JavaScript between hash signs.
#{
    var html = chr(49, 50, 51); // Char codes for numbers 1, 2 and 3
    write(html);
}#