Solved

How to write multiple lines into a text file using CSV writer?

  • 13 December 2015
  • 2 replies
  • 8 views

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!

icon

Best answer by takashi 13 December 2015, 23:11

View original

2 replies

Userlevel 2
Badge +17

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?

Userlevel 4
Badge +25

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