Node.js examples for String:Replace
Replace string by character
String.prototype.replaceAt = function(index, character) { return this.substr(0, index) + character + this.substr(index+character.length); };