I'm trying to read this Excel (CSV) file and display the elements, I'm only interested in displaying the elements with title above, (1st, 3rd, 5th and 7th coloumns), I managed to do this but, the final line is duplicated and starts by 0 when I use the code below, how can I get red of the last line ?:
It might help if you defined a record that held the values you're interested in. You'll also need a collection of records that you're going to populate as you read the input file.
Then:
1 2 3 4
while read-line
create new record
read from line into record
append record to collection of records