Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 1999-01-10
2
Medium Priority
?
135 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 150 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

618 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