I have a string like this:
What I want to do now is to put "One" and "Two" to 2 other separate std::strings. So this meens to extract all words that is found before a "(".Code:std::string Words = "One(1), Two(2)";
An important notice here is that I dont know how many words there is like this. It can be a maximum of 6 words. In this case 2, "One" and "Two".
So if there is ex 4 words, I will put these 4 to a separate string.
What technique is used for this. I beleive "find" is used in any way for this ?