Javascript String ResetBlank()

Description

Javascript String ResetBlank()



String.prototype.ResetBlank = function() {
  var regEx = /\s+/g;
  return this.replace(regEx, ' ');
};



PreviousNext

Related