function a() { var a = "''"; a = a.replace("'", "~"); alert(a); }
function ReplaceCharacter() { var a = "''"; a = a.replace(/'/g, "~");//g is global match flag to replace all the occurance. alert(a); }
a = a.replace(/'/g, "~");
function a() { var a = "\'\'\'"; a = a.replace(/'/g, "~"); alert(a); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)