Skip to content
Prev 320492 / 398506 Next

How to replace '$' sign?

Hi,

If you just want to remove the $, it must be escaped because $ is a
special character in regular expressions.
[1] "232,685.35436"


But it looks like you actually want to remove both $ and ,

Modifying your code:
[1] "232685.35436"

Or my preferred idiom:
[1] "232685.35436"


Sarah

On Thu, Mar 28, 2013 at 11:39 AM, Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
--
Sarah Goslee
http://www.functionaldiversity.org