FMX.Text.ITextActions.Replace
Delphi
procedure Replace(const AStartPos: Integer; const ALength: Integer; const AStr: string);
C++
virtual void __fastcall Replace(const int AStartPos, const int ALength, const System::UnicodeString AStr) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Text.pas FMX.Text.hpp |
FMX.Text | ITextActions |
Description
Replaces a text, specified through the start position and length, with a specified text.
AStartPos
specifies the start position of the text to be replaced.
ALength
specifies the length of the text to be replaced.
AStr
specifies the replacing text.
Implement Replace in order to replace a specified text with another text.