Contact: aviboots(AT)netvision.net.il
41,605 questions
54,259 answers
573 users
String.prototype.replaceAt=function(index, ch) { return this.substr(0, index) + ch + this.substr(index + ch.length); } s = "abcd"; s = s.replaceAt(1, "XY"); document.write(s); /* run: aXYd */