Javascript String stripFileDesignation()

Description

Javascript String stripFileDesignation()

String.prototype.stripFileDesignation = function(){
  return this.substring(0, this.indexOf('.'));
};



PreviousNext

Related