pub fn skip_sequence<'a>(input: &'a str, sequence: &str) -> Result<&'a str, Box<dyn Error>> {
    let val = input
        .strip_prefix(sequence)
        .ok_or("Sequence not found at beginning of input string")?;

    Ok(val)
}
/// Skips the given string in the input, returning the remaining string.
Skips the given string in the input, returning the remaining string.
Skips the given string in the input returning the remaining string .
pub fn skip_sequence<'a>(input: &'a str, sequence: &str) -> Result<&'a str, Box<dyn Error>> {
    let val = input
        .strip_prefix(sequence)
        .ok_or("Sequence not found at beginning of input string")?;
    Ok(val)
}
pub fn skip_sequence < ' a > ( input : & ' a str , sequence : & str ) -> Result < & ' a str , Box < dyn Error > > { let val = input . strip_prefix ( sequence ) . ok_or ( " " ) ? ; Ok ( val ) }
Skips the given string in the input, returning the remaining string.
Skips the given string in the input returning the remaining string .
input
&'a str
sequence
&str
input
&'a str
sequence
&str