strsplit2 {pcutils} | R Documentation |
Split Composite Names
Description
Split Composite Names
Usage
strsplit2(x, split, colnames = NULL, ...)
Arguments
x |
character vector |
split |
character to split each element of vector on, see |
colnames |
colnames for the result |
... |
other arguments are passed to |
Value
data.frame
Examples
strsplit2(c("a;b", "c;d"), ";", colnames = c("col1", "col2"))
[Package pcutils version 0.2.6 Index]