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]]

