Heres what I need to do:
I have a text file with multiple lines which is constantly updating.
I want to read the file and delete the row i process without losing any new data that has been added since I first opened it.
For example:
1) File Has 4 rows
2) Open file read first row
3) Another row is added to the file
I now need to delete line 1, without losing line 5
What the best way to do this - not looking for actual code - simply method
I have a text file with multiple lines which is constantly updating.
I want to read the file and delete the row i process without losing any new data that has been added since I first opened it.
For example:
1) File Has 4 rows
2) Open file read first row
3) Another row is added to the file
I now need to delete line 1, without losing line 5
What the best way to do this - not looking for actual code - simply method