DSStrTok |
public:
DSStrTok ( char * string, char sep=' ' );
This constructs a new StrTok for a specified input string, and a specified character to use for breaking it up.
- string
- The input string to be broken up.
- sep
- The character to use as a seperator.
getElement |
public:
char * getElement ( int i );
This function retrieves the specified portion of the broken string.
- i
- The 0-based index number of the portion of the string needed.
getNumElements |
public:
int getNumElements (void);
This function retrieves the number of portions in the broken string.
~DSStrTok |
public:
~DSStrTok (void);
Destroys a StrTok.
(Last Updated 9/24/2004)