powered by
replacechar
replacechar(str, char = "_", newchar = ".") # is gsub(char, newchar,str)
replacechar("my_queer_file,name") # "my.queer.file,name" replacechar("my_queer_file,name","m","M") # "My.queer.file,naMe"
Run the code above in your browser using DataLab