Write out CSV with double quote in some column in java - 03/05/2018 01:04 EDT
$10 USD
Berlangsung
Dibuat hampir 6 tahun yang lalu
$10 USD
Dibayar ketika dikirim
I have the following code that when writing csv will split csvbody by comma,
CSVWriter writer = new CSVWriter(new FileWriter(datasheet),
CSVWriter.DEFAULT_SEPARATOR,CSVWriter.NO_QUOTE_CHARACTER);
[login to view URL](csvBody);
but my csvBody looks like
"a","b","c", "e,f,g"
so after splitting, "e,f,g" will be split into three columns without double quote surrounds them.
After write to CSV file I want this kind of format a,b,c,"e,f,g".
Dear sir
I have full experience of java program
I am full confident to complete your project and I do my best if you let me bid on yours.
I focus on client's credit than money.
I want to discuss more in detail.
Thank you.