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