Skip to main content

I would like to write a text file and put the information on multiple lines using the CSV writer. I see how to put multiple fields but I cannot find how to put my information on multiple lines.

Thanks for your help!

Probably the CSV writer cannot be used to write a csv record containing a newline within it. How about using the Text File writer instead?


Probably the CSV writer cannot be used to write a csv record containing a newline within it. How about using the Text File writer instead?

I've filed an enhancement request to add carriage return/line feed as a separator option on the CSV Writer, which would solve this in one go. We'll see what the developers say, but it won't be a high priority item I don't think.


Reply