RAD Studio VCL Reference
|
Replace all occurrences of a substring.
function ReplaceText(const AText: AnsiString; const AFromText: AnsiString; const AToText: AnsiString): AnsiString;
AnsiString ReplaceText(const AnsiString AText, const AnsiString AFromText, const AnsiString AToText);
ReplaceText replaces all occurrences of a substring with another substring without case-sensitivity. This function supports multi-byte character strings (MBCS) AnsiStrings.
This function is the same as AnsiReplaceText.
Use ReplaceStr to make this replacement with case-sensitivity.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|