Javascript String toUrl()

Description

Javascript String toUrl()



String.prototype.toUrl = function() {
  return this.replace(/ /g,'_');
};



PreviousNext

Related