pub fn parse_quoted_string(
    string: &str,
    quote: char
) -> Result<(&str, usize), String>