Skip to main content

parse_strings

Function parse_strings 

Source
pub fn parse_strings(text: &str) -> HashMap<String, String>
Expand description

Parses a .strings table: "key" = "value"; lines, with /* */ and // comments and the escapes \", \\, \n, \t and \Uxxxx. Malformed entries are skipped.