code: public String nextToken() 
    {
      int delPos;
      /* Scan for the next delimiter or end of data */
      for (delPos = position; delPos < dataLength; delPos++)
      {
        char c = data.charAt (delPos);
        if (delimiters.indexOf (c) != -1)
          break;
      }
      /* Find out what the token should be */
      String ret = data.substring (position, delPos);
      /* Set the position to the next position */
      position = delPos+1;
      return ret;
    }
docs: Returns the next token from this string tokenizer.
  
  @return     the next token from this string tokenizer.
  @exception  NoSuchElementException  if there are no more tokens in this
  tokenizer's string.