Boost logo

Boost Users :

From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2007-08-31 05:56:26


Hi!

Abhishek V schrieb:
> Also let me know if this is the best way to perform the task or
> something else will be better...

Try the tokenizer:
http://www.boost.org/libs/tokenizer/escaped_list_separator.htm

You can directly initialize a container with these iterators:

vector<string> values(tok.begin(), tok.end());

Frank


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net