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