in reply to (tye)Re7: parsing CSV file with embedded commas (fortunately, fixed-width) - is unpack the solution?
in thread parsing CSV file with embedded commas (fortunately, fixed-width) - is unpack the solution?

Have Ye No Faith????

Well, possibly appropriately. :-)

Anyways the "grab a token" type logic I am using is easy enough to modify to handle all of these options, even as configurable options. Certainly handling this is no harder than figuring out when to read another line from the file.

The only problem is trying to keep sanity amongst the ever exploding list of file formats which are almost, but not quite, CSV and none of which are quite each other. That interface problem is what gives me doubts. Actually processing them is not a problem.

  • Comment on Re (tilly) 5: parsing CSV file with embedded commas (fortunately, fixed-width) - is unpack the solution?