in reply to CSV Columns: Friend or foe?
I realize that this is a learning experience, but you've left out a lot of the complexity of CSVs. Namely, commas are ignored when inside double quoted strings. Basically
a,"b,c",donly has 3 values. Using split() is only safe once you've looked for quotes. And since this is a chance for you to learn, I'll leave out any hints.
Good luck.
- doug
|
|---|