An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100127/da564d7c/attachment.ksh>
Replacing ' (apostrophe) with "(two apostrophe)
2 messages · Steven Kang, Uwe Ligges
On 27.01.2010 06:45, Steven Kang wrote:
Hi all, I am trying to replace a string containing ' (apostrophe) with "(two apostrophes not inverted commas). i.e *asdf'qwer* replaced to *asdf"qwer* Is this feasible?
gsub("'", '"', "asdf'qwer")
Uwe Ligges
Thanks .