extend String.prototype with relevant methods

  • Returns void