I have List<String> which I'm writing to a csv file but each row is written on one cell. How can I split them through "," ? I tried to set the delimiter but still it isn't working.
Code
Writer writer = new FileWriter("D://new.csv", true);
CSVPrinter csvPrinter = new CSVPrinter(writer, CSVFormat.DEFAULT);
csvPrinter.printRecords(myList);
myList?