Move to specified line in CSV file
I have a csv file and I want to move to a specific line and then begin overwriting data from that line onwards.
I know from certain variable the specific line I want to move to.
Say I had a csv file with 5 lines of data, I may wish to move to line 3 and then begin to re-write data on line 3 and onwards.
simple eg) csv file
Move to 3rd line (1,2,3) and begin to edit from there onwards. Everything on and after line 3 is irrelevant and will be overwritten so it can as well just be deleted from that point onwards.
So, again. I do not know what will be the data on line 3 (in this example) but I do know that line 3 is where I want to start editing from.