Javascript String stripSubdomain()

Description

Javascript String stripSubdomain()


String.prototype.stripSubdomain = function() {
  return this.substr(this.indexOf(config.domainHost),this.length);
};



PreviousNext

Related