fn split_at<F>(input: &str, predicate: F) -> (&str, &str)Expand description
Split an input string at the first character for which the predicate returns false.
In other words, returns the longest prefix span where predicate is
satisfied, along with the rest of the string.