Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

please note that according to https://www.ietf.org/rfc/rfc4180.txt

this is a valid record definition from a csv file: "b CRLF bb","ccc" CRLF zzz,yyy,xxx

Your code will fail on this case. CSV parsing is not as simple as it sounds. Given that the format is also not well-defined, it's even worse. (is the first line a header or not for example)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: