Here you can find the source of insertAt(index, string)
String.prototype.insertAt=function(index, string) { return this.substr(0, index) + string + this.substr(index); };
String.prototype.insert = function(text,at) { if(at == null || at > this.length) at = this.length; else if(at < 0) at = 0; return this.substring(0,at)+text+this.substring(at);
String.prototype.insert = String.prototype.insert || function (value, position) { if (!value) return this; position = position === 'end' ? this.length : position === 'start' ? 0 : position || 0 return this.slice(0, position) + value + this.slice(position)
String.prototype.insertAt = function ( loc, strChunk ) { return (this.valueOf().substr( 0, loc )) + strChunk + (this.valueOf().substr( loc )) };
String.prototype.insertAt=function(b,a){ return(this.valueOf().substr(0,b))+a+(this.valueOf().substr(b)) };
String.prototype.insertAt = function(idx, rem, text){ return (this.slice(0,idx) + text + this.slice(idx + Math.abs(rem))); };
String.prototype.insertAt = function (index, string) { return [this.slice(0, index), string, this.slice(index)].join(''); }; String.prototype.bind = function (attr) { var str = this, regex = /(?:data\-bind\-(\w+)="(\w+)")/g, match, matches = {}; while (match = regex.exec(str)) { ...
String.prototype.insertAt = function(index, string) { return [this.slice(0, index), string, this.slice(index)].join(''); };
String.prototype.insertAt = function (index, stringInserted) { if (index > 0) return this.substring(0, index) + stringInserted + this.substring(index, this.length); else return stringInserted + stthisring; };
String.prototype.insertComma = function () { var string = this; var temporary = ""; while (string != (temporary = string.replace(/^([+-]?\d+)(\d\d\d)/, "$1,$2"))) { string = temporary; return string;