FMX.Memo.TCustomMemo.Replace
Delphi
procedure Replace(const AStartPos: Integer; const ALength: Integer; const AStr: string);
C++
void __fastcall Replace(const int AStartPos, const int ALength, const System::UnicodeString AStr);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Memo.pas FMX.Memo.hpp |
FMX.Memo | TCustomMemo |
Description
Replaces the ALength number of characters, beginning from the AStartPos position, with the AStr string.
The caret is moved to the position of the last inserted character.