escapeEndOfLines

open fun escapeEndOfLines(string: String): String(source)

Return

string with ASCII characters 10 and 13 replaced by the text "\n" and "\r".