10 Feb
2010
10 Feb
'10
1:58 a.m.
On Tue, Feb 09, 2010 at 02:00:10PM +0530, Lloyd wrote:
Is it possibleto tokenize a string based on a string delimiter?
Let str be the string to split and delim your delimiter. Then, std::vectorstd::string result; boost::iter_split(result, str, boost::first_finder(delim)); Or case insensitive: std::vectorstd::string result; boost::iter_split(result, str, boost::first_finder(delim, boost::is_iequal())); HTH, Matthias -- Matthias Vallentin vallentin@icsi.berkeley.edu http://www.icir.org/matthias