You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a CSV file with 10 lines and lines 3 and 4 are empty with SkipeEmptyLines == true when it reads record 5 it will have an index of 3.
I'm trying to write logic to ignore the last X records using RowCount-CurrentRecordIndex to determine this but it falls down when the counter is not incremented for blank rows.
I'm happy to look at a pull request if this is change you would accept into CsvReader?
The text was updated successfully, but these errors were encountered:
gavdraper
changed the title
CurrentRecordIndex Does not Update Is SkipEmptyLines is True and a row is empty
CurrentRecordIndex Does not Update if SkipEmptyLines is True and a row is empty
Jun 12, 2019
For example
If you have a CSV file with 10 lines and lines 3 and 4 are empty with SkipeEmptyLines == true when it reads record 5 it will have an index of 3.
I'm trying to write logic to ignore the last X records using RowCount-CurrentRecordIndex to determine this but it falls down when the counter is not incremented for blank rows.
I'm happy to look at a pull request if this is change you would accept into CsvReader?
The text was updated successfully, but these errors were encountered: