I want to remove words of length less than 3 in a string. for example my input is
str<- c("hello RP have a nice day")
I want my output to be
str<- c("hello have nice day")
Please help
See Question&Answers more detail:osI want to remove words of length less than 3 in a string. for example my input is
str<- c("hello RP have a nice day")
I want my output to be
str<- c("hello have nice day")
Please help
See Question&Answers more detail:os