parseCssString {pivottabler}R Documentation

Split a CSS attribute value into a vector/array.

Description

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.

Usage

parseCssString(text, separator = ",", removeEmptyString = TRUE)

Arguments

text

The text to split.

separator

The field separator, default comma.

removeEmptyString

TRUE to not return empty string / whitespace values.

Value

An R vector containing the values from text split up.


[Package pivottabler version 1.5.5 Index]