powered by
Splits a string into words.
splitstring(str, char)
A string.
A character to split on
A vector of strings. The original str is split at ever occurrence of char to generate a vector of strings.
str
char
# NOT RUN { splitstring("/home/recog/steve/foo", "/") #[1] "home" "recog" "steve" "foo" # }
Run the code above in your browser using DataLab