Hi Alex,
 
> Can the boost Tokenizer package split a string into into a series of
> serieses of tokens (a vector of vectors of tokens)?
 
As per the current implementation of tokenizer it does not provide
this feature. It does not store the tokenized values in a container.
It provides an iterator concept to iterate through the tokenized values.
 
Thank you,
Nitin Motgi
 
 
 
 
 
 
 
 
 
 
 
 


 
On 12/23/05, Alex Vinokur <alexvn@connect.to> wrote:
Can the boost Tokenizer package split a string into into a series of
serieses of tokens (a vector of vectors of tokens)?

====================
For instance,
string s = "ab cd   \nxy z\n123";

vector<vector<string> > v;

Output should be as follows:
v[0][0] = "ab";
v[0][1] = "cd";

v[1][0] = "xy";
v[1][1] = "z";

v[2][0] = "123";
====================

http://boost.org/libs/tokenizer/introduc.htm doesn't contain such a
sample.

Alex Vinokur
    email: alex DOT vinokur AT gmail DOT com
    http://mathforum.org/library/view/10978.html
    http://sourceforge.net/users/alexvn






_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Nitin Motgi
NITIN . DOT. MOTGI .AT. GMAIL .DOT. COM