I dont know if the one I wrote is RFC4180 compliant, I just made sure that I handled comma seperated data, and quoted data in fields properly rather than the Space delimited method of commatext. It hasn't failed me so far.<br>
<br><div class="gmail_quote">On Tue, Mar 9, 2010 at 10:35 AM, Alister Christie <span dir="ltr"><<a href="mailto:alister@salespartner.co.nz">alister@salespartner.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
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 <a href="http://www.rfc-editor.org/rfc/rfc4180.txt" target="_blank">RFC 4180</a><br><font color="#888888">
<br>
<pre cols="72">--
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
<a href="http://www.salespartner.co.nz" target="_blank">http://www.salespartner.co.nz</a>
PO Box 13085
Johnsonville
Wellington </pre>
</font></div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br>Kyley Harris<br>Harris Software<br>
+64-21-671-821<br>