split a string by space r 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."