I have ;
string str = "";
in str, I store data is in following form "_ : _, _ " "_" can be just a word like "X" or a composition of words like "a sds 23 dsds 1"
I want them parse it to three different string ;
in str : X:y dfj kd kk,sdd 12 89 ++
string parsed[i] ;
in parsed[0] : X
in parsed[1] : y dfj kd kk
in parsed[2] : sdd 12 89 ++
How can I do that over using c++ std::string features ?