window.Asc.plugin.executeMethod ("SearchAndReplace", [args], callback)
Defines the method that allows finding and replacing the text.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("SearchAndReplace", [oProperties]);
Parameter |
Description |
Type |
Example |
oProperties |
An object which contains the search and replacement strings:
-
searchString - the search string,
type: string,
example: "text1";
-
replaceString - the replacement string,
type: string,
example: "text2";
-
matchCase - case sensitive or not,
type: boolean,
example: true.
|
object |
|
The method returns the undefined value.
window.Asc.plugin.executeMethod ("SearchAndReplace", ["searchString": "text1", "replaceString": "text2", "matchCase": true]);