OpenOffice tends to add a comma to the end of a CSV line. This produces an empty column in OpenCSV.
Any chance of a fix? Thanks!
Empty column if line ends with comma
You need to submit this as a defect to the openoffice project.
I was not able to duplicate it using LibreOffice which is the updated fork of openoffice. You might also verify that you have the latest version of openoffice and update if neccessary or switch over to LibreOffice.
If you have the latest openoffice and do not wish to try Libre Office I would recommend creating a shell script that removes the last character of each line if its a comma.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.