Skip to content

CSVWriter » getLineBreak

Returns the character the csv writer object is using to signify line breaks in the connected csv file.

Parameters

No parameters

Example

js
let csv = datasource.csv("example_file.csv"); 
let lb = csv.getLineBreak();​​​​​​ 
console.log(lb);

Output: \r\n