Solved

Find and Replace a list of strings in a text file?

Posted on 1999-01-10
2
132 Views
Last Modified: 2010-04-06
Hi,
I have a stringlist of whole words that are either all Upper Case, all Lower Case or all  first words are capitalized.
Now ,I want to find these strings (must be whole words) in a text file, check to see if the case matches the stringlist and if not change it to match.

Any ideas?
0
Comment
Question by:martin_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1355802
Use BREPLACE - a batch replace program - from dsp (http://sinsite.icm.edu.pl/delphi). Punch in breplace into the search engine to find it quick (or try this, but I'm not sure if it will work... http://ftp/d10free/breplace.zip).

Its free and has source.

Cheers,

Raymond.
0
 
LVL 1

Author Comment

by:martin_g
ID: 1355803
Thanks, that did the trick!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question