csv :: CsvReader :: skip_empty
Note: Even if this attribute is false
, the presence of an line ending at
end of the last record does not change the number of returned record.
This is because the line endings are processed as terminators, not as
separators. Therefore, when there is more than one line ending at the end
of the file, the additional lines are interpreted as empty records that
are skipped only if skip_empty
is set to true
.
false
by default.
# Do we skip the empty lines?
#
# Note: Even if this attribute is `false`, the presence of an line ending at
# end of the last record does not change the number of returned record.
# This is because the line endings are processed as terminators, not as
# separators. Therefore, when there is more than one line ending at the end
# of the file, the additional lines are interpreted as empty records that
# are skipped only if `skip_empty` is set to `true`.
#
# `false` by default.
var skip_empty: Bool = false is writable
lib/csv/csv.nit:249,2--259,41