
23 Dec
2005
23 Dec
'05
5:30 p.m.
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