System.WideStrUtils.WideReplaceText
Delphi
function WideReplaceText(const AText, AFromText, AToText: WideString): WideString;
C++
extern DELPHI_PACKAGE System::WideString __fastcall WideReplaceText(const System::WideString AText, const System::WideString AFromText, const System::WideString AToText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.WideStrUtils.pas System.WideStrUtils.hpp |
System.WideStrUtils | System.WideStrUtils |
Description
Replaces all occurrences of a substring in a WideString.
WideReplaceText replaces all occurrences of a substring in a WideString with another substring without case sensitivity.
Use WideReplaceStr to make this replacement with case sensitivity.
Note: Recursion substring replacement is not supported.