+ 2

Delete line in a text file

deleting a line in a text file by giving the line number (kind of an array) a simple code or an idea. Thank You but also I tried writing the file into a temporary file while ignoring the line that I provided and renaming the temporary file and deleting the old file it didn't work.

22nd Mar 2017, 1:16 AM
Shazni Shiraz
Shazni Shiraz - avatar
2 Answers
+ 16
Exact same question which has been answered: https://www.sololearn.com/Discuss/173157/?ref=app
22nd Mar 2017, 1:19 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Thank You❀
22nd Mar 2017, 1:38 AM
Shazni Shiraz
Shazni Shiraz - avatar