[−][src]Function mod_utilities::escape_str
pub fn escape_str(source: &str) -> String
Unescape special character sequences into their serialization-safe equivalent
For example \n
becomes two characters, \
followed by n
Utf escapes to be in the format \uXXXX
where X
are hex digits
This version creates a new String, use escape_str_into
to use an existing String