We download a file which can be tab or comma delimited format.
We then split it in c# and handle the data.
Some fields contain commas(,) and some contain tabs.
How would you handle not making a mistaken Split on the data or know when the next record is the real one ?
Sample , delimited:
101,Penthouse ...Corner...Directly on intracoastal, with three BRs, 145 ne 1 ave, etcetc
intracoastal, -> its not the correct split
One of common ways is to escape commas when creating files, see http://stackoverflow.com/questions/769621/dealing-with-commas-in-a-csv-file .
Another way is to put comma-containing values between quotation marks. However this rises other issues (how to handle quotation marks...).