scan_while

Function scan_while 

Source
fn scan_while(
    arg: &str,
    index: usize,
    predicate: impl Fn(char) -> bool,
) -> usize