Home Contents | # string.printable | String | Core4 Lua Commands

## SYNOPSIS

result = string.printable(arg)

## DESCRIPTION

Converts arg into something that can be printed to a terminal window.

If arg is a string, the result is the string data put in double quotes and all unprintable characters converted into backslash style escape sequences.

For all other types, the call runs tostring().

## RETURN VALUE

Returns a string.