code: private int findToken(final String in, final int start, final MarkToken token)
      {
          int pos = start;
          while (pos < in.length())
          {
              if (this.getToken(in, pos) == token)
              {
                  return pos;
              }
              pos++;
          }
          return -1;
      }
docs: Finds the position of the given Token in the given String.
  
  @param in
  The String to search on.
  @param start
  The starting character position.
  @param token
  The token to find.
  @return The position of the token or -1 if none could be found.