I have a string say "a.b" and I want to replace "." with "_".
gsub(".","_","a.b")
doesn't work as . matches all characters.
gsub(".","_","a.b")
Just gives me an error.
Reading the documentation on ?gsub is not that helpful!
So how to do this straight-forward thing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…