Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some annoying Replace window

Status
Not open for further replies.

Setzer

Programmer
Jan 5, 2002
9
RO


I'm trying to develop a Text Editor. And I'm stuck here: I have a replace box wich replace a word with another( the words are specified by the user).I'm using the standard replace box. But if the replacing word has more or less letters than the word to be replaced, the text is replaced exactly as it is( e.g. if I try to replace the word "smoking" with "programming in the phrase "smoking is fine", I get "programmingfine" instead of "programming is fine"
 
Post a snippet of code.
James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top