Class Hierarchy Compound List File List Header Files Compound Members File Members
MString.h File ReferenceA String implementation containing most of the methods that you would expect in a String.
|simple_stack<String>* ||split (const char *x,char separator)|
|Split a string into a stack of elements, separated by a separator. More...|
|const String ||emptyString|
A String implementation containing most of the methods that you would expect in a String.
Strings are represented as possibly shared segment lists Copying and assignment are fast. (const char *) operator and c_str which access the value as a char pointer can be slow.
simple_stack<String>* split (const char * x, char separator)
Split a string into a stack of elements, separated by a separator.
x - - the string to split up
separator - - the separator NOTE: repeated separators will produce an empty string. e.g. split("a b",' ') produces "a","","b" as output.
const String emptyString
Generated at Wed Apr 25 17:34:43 2001 for NCI SUIF by written by Dimitri van Heesch, © 1997-1999