Java has a convenient split method:
String str = "The quick brown fox";
String results = str.split(" ");
Your simple case can easily be built using the std::string::find method. However, take a look at Boost.Tokenizer. It's great. Boost generally has some very cool string tools.