Skip to main content

split_areas

Function split_areas 

Source
pub fn split_areas(reference: &str) -> Vec<&str>
Expand description

The areas of a reference list, split at the commas between them. A comma inside a quoted sheet name ('Sales, West'!A1) is part of the name, and a doubled quote inside the quotes ('O''Brien, Jr'!A1) is an escaped quote, not the end of the name: a quote toggles the quoted state, so a doubled one toggles it twice.