Skip to content

CSVWriter » setLineBreak

Set the quote character that the CSV Reader object uses to write to the connected csv file.

js
csv.setLineBreak(lineBreak);

Parameters

  • lineBreak - String of the character to be used for a line breaks.

Example

js
let csv = datasource.csv("example_file.csv");
csv.setLineBreak("\n");

This will set the line break character to a \n (new line character).