Javascript String replaceAll(f,r)

Description

Javascript String replaceAll(f,r)


String.prototype.replaceAll = function(f,r) {
    return this.split(f).join(r);
};



PreviousNext

Related