Zimbozubble
March 27th, 2001, 03:59 AM
Is it possible to read through a file a line at a time and delete whatever lines meet a criteria that you set?
|
Click to See Complete Forum and Search --> : FSO Zimbozubble March 27th, 2001, 03:59 AM Is it possible to read through a file a line at a time and delete whatever lines meet a criteria that you set? Iouri March 27th, 2001, 07:05 AM You can read 1 line at a time, but you cannot delete it. If you need to delete certain lines, just read line by line and line that you don't want to delete write to the different file. Skip to write lines that you don't want to delete. When you finish writing to the new file, delete the old one and rename the new one. Iouri Boutchkine iouri@hotsheet.com Zimbozubble March 27th, 2001, 07:11 AM Thank you!! Iouri March 27th, 2001, 07:49 AM Rate it if it helped you Iouri Boutchkine iouri@hotsheet.com codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |