Delete a line from a File

Hi
I use files in my project and the data is stored line by line. I was hoping to delete a line from between or at the end in the file but found no functions suiting to do so. Is there a way to do these operations in corona. if so please help

Thank you. [import]uid: 115284 topic_id: 26450 reply_id: 326450[/import]

Hi, I don’t have any sample code but this could maybe be an approach.

First you load all lines into a table and then remove the lines you prefer from the table. Finnaly save the table to the same file. That would work?

Joakim [import]uid: 81188 topic_id: 26450 reply_id: 107418[/import]

Hi
thanks Joakim , Its a good idea. [import]uid: 115284 topic_id: 26450 reply_id: 107849[/import]