ben-strasser/fast-cpp-csv-parser

How can i skip specified line?

Opened this issue · 1 comments

Hi, ben.

Great work! this helps me a lot.

I want to ask if there is method to skip some line which not have same format with others?

For example. assume i have file which looks like this:

price, size, ticker
100, 2, 000001
200, 2, 000100
price,size, ticker
300,3, 000400

when i want to use in.read_row, it always crash when read the second "price, size, ticker"
Is there any method to skip this?

Thanks a lot

I believe next_line() should work, currenlty trying this out aswell.