Javascript String replaceAt_with_size(index, text, size)

Description

Javascript String replaceAt_with_size(index, text, size)

String.prototype.replaceAt_with_size = function(index, text, size){
    return this.substr(0, index) + text + this.substr(index + size);
}



PreviousNext

Related