C++/Boost split a string on more than one character boost::algorithm::split_regex( result, myString, regex( "___" ) ) ;