parseCssString
is a utility function that splits a string into a
vector/array. The function pays attention to text qualifiers (single and
double quotes) so won't split if the delimiter occurs inside a value.
parseCssString(text, separator = ",", removeEmptyString = TRUE)
text | The text to split. |
---|---|
separator | The field separator, default comma. |
removeEmptyString | TRUE to not return empty string / whitespace values. |
An R vector containing the values from text split up.