Board index » delphi » looking for a function...

looking for a function...

...similar to php's ereg_replace, ie. a function that replaces all
occurances of 'blah' in a text string, with 'blah2'. Is there such a
function in delphi 5?

TIA
Allan K

 

Re:looking for a function...


Quote
> ...similar to php's ereg_replace, ie. a function that replaces all
> occurances of 'blah' in a text string, with 'blah2'. Is there such a
> function in delphi 5?

You would be looking for StringReplace which is in the SysUtils unit.

-Luke

Re:looking for a function...


Quote
"Luke Croteau" <the-pugil...@e{*word*277}.com> wrote in message

news:t83h3i1prcju43@corp.supernews.com...

Quote
> You would be looking for StringReplace which is in the SysUtils unit.

That's it! thanks!

Quote
> -Luke

Allan K

Other Threads