If the string looks something like this:
Dani Web 100
Then just use getline() to read the entire line, and start at the end of the string and back up until you find the first space, split the string at that point.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
*mumbles something about find_last_of*
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
*mumbles something about find_last_of*
Of course :) perfect solution.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343