code: function (str) {
        var strlen = str.length;
        if (this.html.substr(this.currentChar, strlen).toLowerCase() === str.toLowerCase()) {
          this.currentChar += strlen;
          return true;
        }
        return false;
      }
docs: If the current input matches this string, advance the input index;
  otherwise, do nothing.
  
  @returns whether input matched string