PDA

View Full Version : Find a value in a text file and remove the entire line



tomlancaster
02-16-2010, 02:25 PM
Hi I was wondering if someone could help
me? I am trying to use an inputbox prompting the end user to enter a text value.

I would then like to search for this value in a normal text file and if it exists to remove the entire line it is on.

I've searched the web for some example
code but with no luck.

Any help will be appreciated.

rbrhodes
02-16-2010, 04:45 PM
Hi TL,

Perhaps post a small example file.