Converts a string of the form "a=1,b=2" to a list with elements
keys
(here: c("a", "b")) and values
(here: (1,2)).
toKeysAndValues(x, separators = c(",", "="))
x | character vector of length 1 |
---|---|
separators | character vector of length 2 representing two types of
separators. The first (default: ",") is used to split |
list with elements keys
and values