I have a csv file with column headings. As the file may be amended and the columns reordered I wish to read the headings and determine their location on each pass. How do I generate a list of fixed headings and determine their position, before extracting the corresponding field for each line.
Regards