Home | All Classes | Grouped Classes | Index | Search

# CL_String::convert_c_escapes

Return a string with C style escapes ({'\','n'}, {'\', 't'} etc.) replaced with the real escapes ('\n', '\t').

    	std::string convert_c_escapes(
    		const std::string& str);

Detailed description:

At the moment \n, \t and \\ are converted.
Single '\' will appear as such unless followed by one of the supported escape character.

See also:

CL_String

Questions or comments, write to the ClanLib mailing list.