Next Previous Contents

50. make_printable_string


Format a string suitable for parsing


String_Type make_printable_string(String_Type str)


This function formats a string in such a way that it may be used as an argument to the eval function. The resulting string is identical to str except that it is enclosed in double quotes and the backslash, newline, and double quote characters are expanded.

See Also

eval, str_quote_string

Next Previous Contents