I am trying to parse a CSV file using JakartaCommons-csv
Sample input file
Field1,Field2,Field3,Field4,Field5
"Ryan, R"u"bianes"," dummy@gmail.com","29445","626","South delhi, Rohini 122001"
Formatter: CSVFormat.newFormat(',').withIgnoreEmptyLines().withQuote('"') CSV_DELIMITER is ,
Output
- Field1 value after CSV parsing should be : Ryan, R"u"bianes
- Field5 value after CSV parsing should be : South delhi, Rohini 122001
Exception: Caused by: java.io.IOException: (line 2) invalid char between encapsulated token and delimiter