ReplaceAllCommand.execute(text, replaceText, matchCase) Method
Executes the ReplaceAllCommand 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.replaceAll.execute("matching text", "new text", true);
See Also