If you have a string variable that contains the following:
<text> - <text> - <text>
How do I extract the three different pieces of text?
The key is that the variable is a string and the extracted data must all be string variables as well.
I don't think I can use the string token method because it works with character arrays. Also note, I only started c++ a week ago, so please explain your answers accordingly.