docs: public String consumeTo(String seq) {
          int offset = queue.indexOf(seq, pos);
          if (offset != -1) {
              String consumed = queue.substring(pos, offset);
              pos += consumed.length();
              return consumed;
          } else {
              return remainder();
          }
      }