Thanks, it worked...
----- Original Message -----
From: "Matthias Vallentin"
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 _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
______________________________________ Scanned and protected by Email scanner