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.
Name Description string The input string to be broken up. sep The character to use as a seperator.
public:
char * getElement(int i);
This function retrieves the specified portion of the broken string.
Result: A pointer to the portion of the string requested.
Name Description i The 0-based index number of the portion of the string needed.
public:
int getNumElements();
This function retrieves the number of portions in the broken string.
Result: The number of portions in the larger string.public:
~DSStrTok();
Destroys a StrTok.
Generated with HeaderDoc - © 2000 Apple Computer, Inc. (Last Updated 5/10/2004)