r str split on one or more space code example
Example: split strings by space in r
unlist(unique(strsplit("This is my test string.", " ")))
[1] "This" "is" "my" "test" "string."
unlist(unique(strsplit("This is my test string.", " ")))
[1] "This" "is" "my" "test" "string."