Login | |
|
 |
RE: replace line in file - 3/5/2008 2:04:49 AM
|
|
 |
|
| |
ebgreen
Posts: 4972
Score: 31
Joined: 7/12/2005
Status: online
|
Ok, load the file into an array of the lines in the file. Go through the array and if an item in the array contains wor, then change the item to be whatever you want it to be. After you get through all of the items in the array, write the array back out to the file overwriting the previous file contents.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|