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.
Split a string into a stack of elements, separated by a separator.
written by Dimitri van Heesch, © 1997-1999