Skip to main content

parse_cusd

Function parse_cusd 

Source
pub fn parse_cusd(line: &str) -> Option<Cusd>
Expand description

Parse one logical +CUSD line (prefix case-insensitive). The string may hold commas, CR/LF and quotes; the closing quote is the last one on the line. A trailing OK glued to the line after the string or the DCS is ignored; an OK inside an unclosed string is kept as text. None if this is not a +CUSD line.