
14 Nov
2008
14 Nov
'08
6:22 p.m.
Jeff Dunlap, le 13 novembre 2008 23:18:
The expression regex e(",") handles files in a clean format such as:
field 1,field 2,field 3
I would like to read some CSV files where there may be fields that contain a comma (enclosed in ""):
1999,Smith, Mike, "Smith, Mike", 55 1999,Doe, Jane, "Doe, Jane", 45
escaped_list_separator in Boost.Tokenizer seems to do what you need. Éric Malenfant ---------------------------------------------