code: public void skipPast(String to) {
          this.myIndex = this.mySource.indexOf(to, this.myIndex);
          if (this.myIndex < 0) {
              this.myIndex = this.mySource.length();
          } else {
              this.myIndex += to.length();
          }
      }
docs: Skip characters until past the requested string.
  If it is not found, we are left at the end of the source.
  
  @param to A string to skip past.