Remove RecordDelimiter on last record

28 views
Skip to first unread message

Glenn

unread,
Mar 26, 2013, 6:15:00 PM3/26/13
to csv...@googlegroups.com
Is it possible with the CsvWriter to have it not add in the final delimiter?

The web application that I'm feeding thinks there is a blank line after the final line.

GlennW

shriop

unread,
Mar 27, 2013, 12:05:52 AM3/27/13
to csv...@googlegroups.com
If you don't call EndRecord, it won't output the final delimiter. Does that help?

Bruce Dunwiddie

Glenn

unread,
Mar 27, 2013, 8:34:33 AM3/27/13
to csv...@googlegroups.com
Bruce;

I was thinking that would be my option.  It may be a good feature request to add to the settings so that when flush or closed is called it won't add the final crlf

Thanks for your help;
GlennW
Reply all
Reply to author
Forward
0 new messages