View Full Version : JScript replace double quotes (")

10-13-2010, 06:29 PM
i am trying to replace (") with " but its giving a error i don't know what i am doing wrong.

String.prototype.double_quotes = function()
return this.replace("""",""");

Microsoft JScript compilation error '800a03ee'
Expected ')'
/include/functions.asp, line 3
return this.replace("""",""");

Old Pedant
10-13-2010, 07:59 PM

*PLEASE* stop cross posting. It's bad netiquette. Eventually, people will simply stop answering you, because they will assume that somebody in another forum will answer.