TTMSFNCMemo.ReplaceNext Method
Replaces the next match using the supplied search options.
API unit family: TMSFNCMemo
Declaring type: TTMSFNCMemo
Inherited from: TTMSFNCCustomMemo
Overloads
Overload 1
Replaces the next match using the supplied search options.
procedure ReplaceNext(ASearchString, AReplaceString: string; AOptions: TTMSFNCMemoFindOptions); overload;
Parameters
| Name | Description |
|---|---|
ASearchString |
The text to search for. |
AReplaceString |
The replacement text. |
AOptions |
The search or replace options to apply. |
Overload 2
Replaces the next match using default options.
procedure ReplaceNext(ASearchString, AReplaceString: string); overload;
Parameters
| Name | Description |
|---|---|
ASearchString |
The text to search for. |
AReplaceString |
The replacement text. |