title: Writing list<String> in csv java using CsvPrinter
body: <p>I have <code>List&lt;String&gt;</code> which I'm writing to a csv file but each row is written on one cell. How can I split them through &quot;,&quot; ? I tried to set the delimiter but still it isn't working.<br/>
  <strong>Code</strong><br/></p>
  <pre><code>Writer writer = new FileWriter(&quot;D://new.csv&quot;, true);
              CSVPrinter csvPrinter = new CSVPrinter(writer, CSVFormat.DEFAULT);
              csvPrinter.printRecords(myList);
  </code></pre>