I have this string:
var someString = "23/03/2012";
and want to replace all the "/" with "-".
I tried to do this:
someString.replace(///g, "-");
But it seems you cant have a forward slash /
in there.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…