how to delete a string inside a file (.txt) in Java Programming
Posted
by raya lama
on Stack Overflow
See other posts from Stack Overflow
or by raya lama
Published on 2010-04-20T12:01:37Z
Indexed on
2010/04/20
12:13 UTC
Read the original article
Hit count: 393
i would like to delete a string or a line inside a ".txt" file ( i.e. filen.txt ). For example, i have these lines in the file:
1JUAN DELACRUZ
2jUan dela Cruz
3Juan Dela Cruz
then delete the 2nd line (2jUan dela Cruz), so the ".txt" file will look like:
1JUAN DELACRUZ
3Juan Dela Cruz
Please help.Thank you
© Stack Overflow or respective owner