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