Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+dpOJkF9-+3r0uNMZ3sjNJAKW1eKt3MW+7AMrQ08wQfkyi9eQ@mail.gmail.com>
Date: 2013-03-28T15:39:09Z
From: Christofer Bogaso
Subject: How to replace '$' sign?

Hello again,

I want to remove "$" sign and replace with nothing in my text.
Therefore I used following code:

> gsub("$|,", "", "$232,685.35436")
[1] "$232685.35436"


However I could not remove '$' sign.

Can somebody help me why is it so?

Thanks and regards