Check out Ray Marron's CSView project (with source) which appears to include an RFC4180 compliant parser:
http://www.raymarron.com/delphi/ Haven't tried it myself, but Google suggested it. ;) From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alister Christie Sent: Tuesday, 9 March 2010 10:36 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] csv files Does anyone know of some nice .csv processing code. I need to process a bunch of files that contain all the tricky stuff - embedded quotes, commas and multi-line fields. TStringList.CommaText just isn't up to the task. Basically I need a full implementation of RFC 4180 <http://www.rfc-editor.org/rfc/rfc4180.txt> -- Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe