Skip to content

Skip csv line with just commas @csv #368

@GitXm123

Description

@GitXm123

Hi,
I am using the jackson csv library to parse a Csv file. My end users use excel to generate the csv and sometimes they remove values form the entire row. This creates a csv line with just a empty commas.
Is it possible to skip such csv rows that have just commas and no values in it?

Note that in my case some csv column values could have new line character included in the data and hence I don't want to write a pre filter to programmatically check and remove the above-mentioned empty lines. The header row almost always has a new line character in some of the column names

Any help is appreciated.
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions