Text File Manipulation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
It all depends on how big the file sare. You can read them into a string if
they're not too large.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top