How to remove a line from a txt file using Javascript?

Posted on August 29th, 2009 by by admin

txt
Sagar asked:


Hi,

I have a list of numbers such as
1
2
3
0
4

one below the other in a txt file. However, I want to remove or delete the line that contains 0, so that the resulting file would be

1
2
3
4

Can you tell me how to do that?

Vincente

Problem With Lotto application in VB 6.0?

Tags: Delete Javascript List Of Numbers

2 Responses to “How to remove a line from a txt file using Javascript?”

  1. ranten Says:

    Select and highlight the ZERO.
    Hit delete

    Hope that helps.

  2. Germann A Says:

    JavaScript do NOT (usually) have permissions to access file system…

 

Paid Online Surfing and Surveys | data recovery