index_func

Function index_func 

Source
pub fn index_func(s: &str, f: fn(char) -> bool) -> i32