I see that there are several similar questions, but I have not found any of the answers satisfactory. I have a comma delimited file where each line looks something like this:
4477,52544,,,P,S, ,,SUSAN JONES,9534 Black Bear Dr,,"CITY, NV 89506",9534 BLACK BEAR DR,,CITY,NV,89506,2008,,,, , , , ,,1
The problem that comes into play is when a token escapes a comma with quotes "CITY, NV 89506"
I need a result where the escaped tokens are handled and every token is included, even empty ones .