Function shrimple_parser::parse_until_exact

source ยท
pub fn parse_until_exact(delimiter: &str) -> impl Parser<'_, &str>
Expand description

Strips characters from the input until delimiter is met. The delimiter is omitted from both the output and the rest of the input. Returns the string consumed before the delimiter or a recoverable error.