ReplaceNextCommand.execute(text, replaceText, matchCase) Method
Executes the ReplaceNextCommand command with the specified parameters.
Declaration
execute(
text: string,
replaceText: string,
matchCase: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
text | string | A string value specifying a text to replace. |
replaceText | string | A string value specifying the inserted text. |
matchCase | boolean |
|
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
richEdit.commands.replaceNext.execute("matching text", "new text", true);
See Also