I currently have a line that has the following structure
xxx,xxx,xxxxxxx,,xxxxxx,xxxx
Now I use the following code
std::vector< std::string > vct; boost::split( vct, str, boost::is_any_of(",,") );
Now boost breaks the line as soon as it finds "," and not ",", which I don't want. Is there a way that I could explicitly indicate that it should split only if it finds "," and not ","
source share