|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Text File ManipulationNot Sure if this is the correct category, but here goes.
I would like to open up certain text files in a folder. I would then like to change a particular string to something else. Is there a way to update a record while reading through the text file, or, can I issue a REPLACE command to the entire file. I'd like to avoid reading the file, making the change and outputting to another file. Thanks for any advice. It all depends on how big the file sare. You can read them into a string if
they're not too large. -- Show quoteHTH, Kevin Spencer Microsoft MVP Professional Chicken Salad Alchemist What You Seek Is What You Get. "Frank" <Fr***@discussions.microsoft.com> wrote in message news:8F57D2E1-FEEC-4441-9AFB-9FFC85DD0984@microsoft.com... > Not Sure if this is the correct category, but here goes. > I would like to open up certain text files in a folder. I would then like > to > change > a particular string to something else. Is there a way to update a record > while > reading through the text file, or, can I issue a REPLACE command to the > entire file. > > I'd like to avoid reading the file, making the change and outputting to > another file. > > Thanks for any advice. |
|||||||||||||||||||||||