Skip to main content

split_by_chars

Function split_by_chars 

Source
pub fn split_by_chars<'a>(s: &'a str, delimiters: &[char]) -> Vec<&'a str>
Expand description

Split a string by a list of delimiters.

Each character in delimiters is treated as a split point.