Syntax for csv writer

Hi

This appears basic, but I have been struggling to change the separator and quote separator in the csv writer. I have read the page about it and tried every combination I can think of.

// Create CsvWriter with timestamp
CsvWriter writer = new CsvWriter("OakesDataIn.csv", NO IDEA WHAT GOES HERE );

I would like to have a ^ separating the fields and maybe a | as the text separator?

Thanks for your help, as always

Jason

The documentation for the CSV

The documentation for the CSV Writer is here.

So to set the delimiter it would look like:

import com.screenscraper.csv.*;

CsvWriter writer = new CsvWriter("output/filename.csv", '^', '|');

session.setVariable( "WRITER", writer);