Split a string into a vector of strings
Usage
splitstring(x, sep = ",")
Arguments
- x
a character string to be split
- sep
the separator on which to split
Value
a vector of strings
Examples
splitstring("alfa,bravo,charlie")
#> [1] "alfa" "bravo" "charlie"
splitstring("alfa,bravo charlie", sep = " ")
#> [1] "alfa,bravo" "charlie"