You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Chen (Jira)" <ji...@apache.org> on 2020/05/11 02:48:00 UTC
[jira] [Commented] (CSV-261) For CSV - CSVFormat -
withIgnoreEmptyLines() unworking for CSV files.
[ https://issues.apache.org/jira/browse/CSV-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104018#comment-17104018 ]
Chen commented on CSV-261:
--------------------------
Hi, [~mimine9411]
This is not a problem that withIgnoreEmptyLInes() unworking. Becase withIngoreEmptyLines() only ignore empty lines like "\r\n". And ',,\r\n' is not empty line.
Perhaps, you need a function like ignorEmptyColumnsLInes. Unfortunately, it's not available yet You can manually filter the results of record now.
> For CSV - CSVFormat - withIgnoreEmptyLines() unworking for CSV files.
> ---------------------------------------------------------------------
>
> Key: CSV-261
> URL: https://issues.apache.org/jira/browse/CSV-261
> Project: Commons CSV
> Issue Type: Bug
> Reporter: Amine SEMLALI
> Priority: Major
> Attachments: image-2020-05-10-10-22-13-211.png, image-2020-05-10-10-22-28-309.png, image-2020-05-10-10-22-37-401.png
>
>
> The CSV File :
> !image-2020-05-10-10-22-13-211.png!
> Code :
> !image-2020-05-10-10-22-28-309.png!
> Output :
> !image-2020-05-10-10-22-37-401.png!
> Thanks for your helpĀ :)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)