A CSV parser. It lets you consume a CSV row by row.
Most of the time CSV#parse
and CSV#each_row
are more convenient.
Reads the next row into the given array.
Returns the next row in the CSV, if any, or nil
.
Returns the remaining rows.
Rewinds this parser to the beginning.
Reference
Reference
Object
Object
Reads the next row into the given array. Returns that same array, if a row was found, or nil
.
Rewinds this parser to the beginning.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/CSV/Parser.html