Skip to content

Rose::StringUtility::escapeNewLineCharaters

Escapes line feeds and double quotes.

Synopsis

Declared in <src/Rose/StringUtility/Escape.h>

[[visibility]]
std::string
escapeNewLineCharaters(std::string const&);

Description

Scans the input string character by character and replaces line‐feed characters with a backslash followed by the letter "l" and replaces double quotes by a backslash followed by a double qoute.

Return Value

Escaped string.

Created with MrDocs