RAD Studio VCL Reference
|
Replaces all occurrences of a substring within a string, using case-sensitive search.
function WideReplaceStr(const AText: WideString; const AFromText: WideString; const AToText: WideString): WideString;
BSTR WideReplaceStr(const BSTR AText, const BSTR AFromText, const BSTR AToText);
Use WideReplaceStr to replace all occurrences of the substring AFromText with the string AToText, within the string AText. WideReplaceStr returns the string obtained after replacement.
Use WideReplaceText to do a case-insensitive replacement.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|