[][src]Function mod_utilities::unescape_str

pub fn unescape_str(source: &str) -> String

Unescape special character sequences into their literal equivalent

For example \n becomes a real new line character

Expects utf escapes to be in the format \uXXXX where X are hex digits

This version creates a new String, use unescape_str_into to use an existing String