mattkw80
Well-known member
Hi Guys,
I'm really stuck on something, which, is probably easy, but I've blown hours trying to figure this out.
I need to be able to remove 1 line from a textfile. I will always know exactly what line it is, as, it's the same "string" as a variable. So if my variable is called "removeThis" then I need to be able to Read through the textfile, find the line that is equal to the removeThis string variable, and then rewrite the whole textfile.
Can someone help me through this?
I'm really stuck on something, which, is probably easy, but I've blown hours trying to figure this out.
I need to be able to remove 1 line from a textfile. I will always know exactly what line it is, as, it's the same "string" as a variable. So if my variable is called "removeThis" then I need to be able to Read through the textfile, find the line that is equal to the removeThis string variable, and then rewrite the whole textfile.
Can someone help me through this?