Displaying 1 result from an estimated 1 matches for "helloahereaiaam".
2013 Apr 10
2
grup function
Hello,
How can i mattch blanks within words, when i have more phrases?
c("Shangh i", "Hello here i am","h llo")
> gsub(" ","a",c("Shangh i", "Hello here i am","h llo"))
[1] "Shanghai" "Helloahereaiaam" "hallo"
I would like to have [1] "Shanghai" "Hello here i am" "hallo"
I hope someone can help me.
Thanks,
[[alternative HTML version deleted]]