Javascript String uc_first()

Description

Javascript String uc_first()


String.prototype.uc_first = function() {
    return this.charAt(0).toUpperCase() + this.slice(1);
};



PreviousNext

Related