I have a string that is
NAME = "Brad.Pitt"
I want to replace "." with a space (" "). I tried using sub, gsub, str_replace, str_replace all. They aren't working fine. Is there anything that I am missing out ?
Try:
NAME = "Brad.Pitt"
gsub("\\.", " ", NAME)