Searched defs:split_once (Results 1 – 3 of 3) sorted by relevance
34 fn split_once<'a>(base: &'a str, other: &'_ str) -> (&'a str, Option<&'a str>) { in split_once() function
1624 pub fn split_once<'a, P: Pattern<'a>>(&'a self, delimiter: P) -> Option<(&'a str, &'a str)> { in split_once() method
599 pub fn split_once<P>(&self, pat: P) -> Option<(&Self, &Self)> in split_once() method