pub fn substr_index(string: Expr, delimiter: Expr, count: Expr) -> Expr
Returns the substring from str before count occurrences of the delimiter