Skip to content

CSVWriter » setQuoteCharacter

Set thequote character that theCSV Writerobject uses to write tothe connected csv file.

js
csv.setQuoteCharacter(quoteCharacter);

Parameters

  • quoteCharacter - String of the character to be used for a quote character.

Example

js
let csv = datasource.csv("example_file.csv");
csv.setQuoteCharacter("\""); 
//alternatively csv.setQuoteCharacter('"');

This will set the quote character to a ` (quotation mark).