    #include <iostream>  // cout
    #include <string>   // string
    #include <sstream> // string stream
    using namespace std;
    
    int main()
    {
         string testString = "Hello how are you.";
         
         istringstream iss(testString); // not istringstream NOT sstringstream
    
         char c; // this will read the delima (space in this case)
         string firstWord;

         iss>>firstWord>>c; // read the first word and end after the first ' '

        cout << "The first word in \"" << testString << "\" is \"" << firstWord << "\""<<endl;
        
        cout << "The rest of the words is \"" <<testString.substr(firstWord.length()+1) << "\""<<endl;
        return 0;
    }