csv
csv copied to clipboard
CsvToListConverter adds extra rows for empty newlines at end of file
CsvToListConverter adds extra rows for empty newlines at end of file.
Would it make sense to skip these empty rows?
I fixed it by doing:
rows.removeWhere((row) => row.length == 1 && row.first == '');
EDIT: or just call trim() on String ..
I will try to add this in the next days.
It's however not that easy when used as transformer.