Kiyoshika / csv-reader

A very simplistic CSVReader utility for C++.
0 stars 1 forks source link

Fix `get_and_strip_column` #6

Open zweaver-chwy opened 2 months ago

zweaver-chwy commented 2 months ago

It's checking if the length is < 3 then return empty string. This doesn't work in cases like a string being a single character like A.

zweaver-chwy commented 2 months ago

Can be replaced with a check for if (str.empty()) then return empty