Possible Duplicates:
C++: How to split a string?
Splitting a string
What is the best way to go about splitting a string up by whitespace in c++?
I'd like to be able to split it based on tab, space, etc. and of course ignore multiple tabs/spaces/etc. in a row as well as not have issues with having those things at the end.
Ultimately, I am going to end up storing this in a vector, but I can easily convert between data types if there is some easy built-in standard library way of splitting.
I am building this on a UNIX machine with g++, not using Microsoft Visual C++