Skip to main content

split

Function split 

Source
pub fn split(pattern: &str, flags: &str, haystack: &[u8]) -> Vec<(usize, usize)>
Expand description

Split haystack by a regex pattern, returning byte-ranges of non-matching segments.