Skip to content

CSVReader » setLineBreak

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

js
csv.setLineBreak(lineBreak);
csv.setLineBreak(lineBreak);

Parameters

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

Example

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

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