Regular expression substitution ...
I would like to replace all occurences of
/pc
with
\%
using something like
sub("/pc", "\%", x)
but I am unable to make the '\' pass through.
Any hint?
Thanks,
Roberto
I would like to replace all occurences of
/pc
with
\%
using something like
sub("/pc", "\%", x)
but I am unable to make the '\' pass through.
Any hint?
Thanks,
Roberto