Skip to main content

split_top_level

Function split_top_level 

Source
pub fn split_top_level(s: &str, sep: char) -> Vec<&str>
Expand description

Splits s on sep occurrences that sit outside every delimiter pair and string literal. Empty (whitespace-only) pieces are dropped, so a trailing comma costs nothing.