
-----------------------------------
Selfi
Mon Jan 24, 2005 12:55 am

Overwriting File Info
-----------------------------------
Hi everyone, I'm trying to figure out how to remove lines of information from files. 

For example, the file contents is

a
b
c
d
e
f
g

and i want to remove the line containing the letter d
how would one go about this without creating a blank line in the file?
thanks a bunch in advance.

-----------------------------------
wtd
Mon Jan 24, 2005 4:47 pm


-----------------------------------
Can you read the lines from the file into an array of Strings?

Can you loop over that array?

Can you print each String in that array to a file?
