fn unescape_string(s: &str) -> String {
    let s1 = s.replace("\n", "\\n");
    let s2 = s1.replace("\"", "\\\"");
    let s3 = s2.replace("\'", "\\\'");
    return s3;
}
/// Unescapes a single string value, by replacing certain
/// characters (like newline) with string representations.
Unescapes a single string value, by replacing certain
characters (like newline) with string representations.
Unescapes a single string value by replacing certain characters ( like newline ) with string representations .
fn unescape_string(s: &str) -> String {
    let s1 = s.replace("\n", "\\n");
    let s2 = s1.replace("\"", "\\\"");
    let s3 = s2.replace("\'", "\\\'");
    return s3;
}
fn unescape_string ( s : & str ) -> String { let s1 = s . replace ( " \n " , " \\ " ) ; let s2 = s1 . replace ( " \" " , " \\ \" " ) ; let s3 = s2 . replace ( " \' " , " \\ \' " ) ; return s3 ; }
Unescapes a single string value, by replacing certain
characters (like newline) with string representations.
Unescapes a single string value by replacing certain characters ( like newline ) with string representations .
s
&str