Class hierarchy Compound list Compound Members
StringTokenizer Class Reference
This class separates a string to separate tokens. More...
List of all members.
Public Members
Detailed Description
This class separates a string to separate tokens.
It contains local storage, which
solves the problem with the global strtok
Delim can have any number of delimiters
It also supplies an empty string capability:
example: "AA|B||C" breaks down with "|" delimiter to: "AA" "B" "" "C"
Member Function Documentation
StringTokenizer::StringTokenizer(const String& Text, const String& Delim, const DS_BOOL IncludeEmpty=0)
Construct a StringTokenizer.
virtual StringTokenizer::~StringTokenizer() [virtual]
String& StringTokenizer::nextToken()
Returns the next token available.
Throws IndexOutOfBounds if there are no more tokens.
int StringTokenizer::hasMoreTokens() const
Returns non-zero if there are more tokens.
The documentation for this class was generated from the following file: