I need to manipulate an existing CSV file and create another one from it but excluding some fields.
For example, the fields I have in the 'master' file are: searchtime, viewid, depair, destair, resort, depdate, nights, hotel, rating, roominfo, boardbasis, price, adults, link, picture
I need to read through that file and only include depair, destair, depdate, resort, price, link, boardbasis, nights.
I have the lines in an array:
Expand|Select|Wrap|Line Numbers
- string[] fields = line.Split(new char[] { '|' });
Thanks,
Brett