Q:

Visual C++ is there something like explode for Strings?

I have a CString that I'd like to break up much the way a php explode() would do, I haven't seen anything like this in C++.  Does anybody have an easy way to split up a string into substrings given the separator character?

A:

There's no direct equivalent, but the Tokenize method is similar, and can be used as the basis of function to work like PHP's explode.

