TTMSFNCCustomMemo.ReplacePrevious Method
Replaces the previous match using the supplied search options.
API unit family: TMSFNCMemo
Declaring type: TTMSFNCCustomMemo
Overloads
Overload 1
Replaces the previous match using the supplied search options.
procedure ReplacePrevious(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 previous match using default options.
procedure ReplacePrevious(ASearchString, AReplaceString: string); overload;
Parameters
| Name | Description |
|---|---|
ASearchString |
The text to search for. |
AReplaceString |
The replacement text. |