Hi,
Is there any function that replaces a dot with a space? I expect "c t"
from the output of the second call of function sub, but it did not do so.
> sub("a", "b", "cat")
[1] "cbt"
> sub(".", " ", "c.t")
[1] " .t"
Thanks!
[[alternative HTML version deleted]]