ReplaceText replaces all instances of string AFromText to string AToText in the source string AText and returns this value as the result. The replacement is case insensitive.
function ReplaceText(const AText: string; const AFromText: string; const AToText: string): string;
AnsiString ReplaceText(const AnsiString AText, const AnsiString AFromText, const AnsiString AToText);
StrUtils
For a case sensitive replacement, use the ReplaceStr routine.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|