Boost logo

Boost :

From: Drazen DOTLIC (Drazen.Dotlic_at_[hidden])
Date: 2003-08-21 13:32:13


> I want to parse "," separated lists of strings.
>
> I have:
>
> char const* plist_wo_item = "x, y, z";
> [rest snipped]

With the risk of stating the obvious, why don't you use
boost::tokenizer? Unless you want to do something else with the values
separated by ',', spirit looks like a major overkill...

Drazen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk