Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-15 14:27:03


AMDG

Maximilian Matthe wrote:
> Aljaz schrieb:
>> std::string s = "Field 1 \"putting quotes around fields, allows
>> commas\",Field 3";
>>
>> boost::escaped_list_separator<char> sep("\"\'", " ,;", "\"\'");
>>
>> <snip>

I think what you want is:

 boost::escaped_list_separator<char> sep("\\", " ,;", "\"\'");

In Christ,
Steven Watanabe


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