I am trying to exctract "MainLine" from 1 string and two int:s like below but I think I am on wrong track.
If the line was in a .txt file I could do something like this I know but I don“t know if it is different if the Line already is in a std::string ?
char Comma;
std::string LineDummy;
int one = 0;
int two = 0;
MainLine = "Hello,1,2";
while( MainLine, LineDummy, ',')
{
MainLine >> one;
MainLine >> Comma;
MainLine >> two;
}