Question

I am just start using openCSV. I want to ask suppose i have a csv file in which , is present within the value like

abc, def, ghi, j,kl, mno

note the j,klis a column value with , in between. How can i handle such situation?

Thanks

Was it helpful?

Solution

The usual procedure is to contain the values within quotes (") e.g. "abc", "def", "ghi", "j,kl", "mno" or delimit by something other and less used than a comma.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top