apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
596 stars 888 forks source link

How to read a single line and then delete it??? #223

Closed faizaanshah closed 3 years ago

faizaanshah commented 5 years ago

I have created a file for temporary storage of data and now I want to read data line by line and delete it after reading from the file . How is it possible.

timbru31 commented 3 years ago

Probably you should load the file with, e.g., the cordova-plugin-file or a FileReader and then iterate over the lines. This is out of scope for this plugin.