I currently have a string that has the following structure
xxx,xxx,xxxxxxx,,xxxxxx,xxxx
Now I am using the following code
std::vector< std::string > vct;
boost::split( vct, str, boost::is_any_of(",,") );
Now the boost splits up the string once it finds "," and not ",," which I dont want. Is there any way that I could explicitly specify that it should split only if it finds ",," and not ","