RAD Studio VCL Reference
|
Replace all occurrences of a substring.
function AnsiReplaceText(const AText: AnsiString; const AFromText: AnsiString; const AToText: AnsiString): AnsiString; overload;
AnsiString AnsiReplaceText(const AnsiString AText, const AnsiString AFromText, const AnsiString AToText);
AnsiReplaceText replaces all occurrences of a substring with another substring without case-sensitivity. This function supports multi-byte character strings (MBCS) AnsiStrings.
Use AnsiReplaceStr 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!
|