Function cusip::parse_loose[][src]

pub fn parse_loose(value: &str) -> Result<CUSIP, CUSIPError>

Parse a string to a valid CUSIP or an error message, allowing the string to contain leading or trailing whitespace and/or lowercase letters as long as it is otherwise the right length and format.