Javascript String escapeDateTimeTokens()

Description

Javascript String escapeDateTimeTokens()


String.prototype.escapeDateTimeTokens = function () {
    return this.replace(/([dMyHmsft])/g, "\\$1");
}



PreviousNext

Related