ProAnswers.org

How do I tokenize a string in C++?

take a look at
http://www.boost.org/doc/libs/1_36_0/libs/tokenizer/index.html

It’s great. Boost generally has some very cool string tools.