I have this string:
var someString = \"23/03/2012\";
and want to replace all the \"/\" with \"-\".
I tried to do this:
<
Just use the split - join approach:
my_string.split('/').join('replace_with_this')