public String nextToken(){
  int len=_string.length();
  int start=_pos;
  while (start < len && _del == _string.charAt(start))   start++;
  if (start < len) {
    _pos=_string.indexOf(_del,start);
    if (start < _pos && _pos < len)     return _string.substring(start,_pos);
 else     return _string.substring(start);
  }
  throw new NoSuchElementException();
}

public String nextToken ( ) { int len = _string . length ( ) ; int start = _pos ; while ( start < len && _del == _string . charAt ( start ) ) start ++ ; if ( start < len ) { _pos = _string . indexOf ( _del , start ) ; if ( start < _pos && _pos < len ) return _string . substring ( start , _pos ) ; else return _string . substring ( start ) ; } throw new NoSuchElementException ( ) ; }
returns the next token in the string as a string .
