```Rust extern crate stringparser; use stringparser::string_parser;
fn end_filter(c : char) -> bool{
if c == '\'' {
return true;
}
else {
return false;
}
}
fn callback(s : String){ asserteq!(String::from("foo"), s); } stringparser("./text", "'", end_filter, callback).unwrap(); ```