script::xpath::eval_function

Function substring

Source
fn substring(s: &str, start_idx: isize, len: Option<isize>) -> String