bipiped_value_to_vector.Rd
"Bipiped" means that different values are separated by a pair of
pipes (||
), like the logical OR operator in R. Use
bipiped_value_to_vector()
for single values, and
bipiped_values_to_vector()
for a vector of values, in which case a list
is returned.
bipiped_value_to_vector(x, stripQuotes = TRUE)
bipiped_values_to_vector(x)
The value or vector of values.
Whether to strip enclosing quotes fromeach vector element.
A vector or list of vectors.
exampleValue <-
paste0('"Purposefully select" || "Aselect" || ',
'"Likely self-selected" || "Ameliorated self-selection"');
bipiped_value_to_vector(exampleValue);
#> [1] "Purposefully select" "Aselect"
#> [3] "Likely self-selected" "Ameliorated self-selection"