Skip to content
Prev 361298 / 398503 Next

How to replace all commas with semicolon in a string

Hi Jun,
As you do seem to want to replace commas within, not between, strings, try gsub:

gsub(",",";",test[,1])

Jim