EXACT
Checks whether two text strings are exactly the same, and returns -true or -false. This function is case-sensitive.
Syntax
expression.EXACT(arg1, arg2);
expression
- A variable that represents a ApiWorksheetFunction class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
arg1 | Required | ApiRange | ApiName | string | The first text string. | |
arg2 | Required | ApiRange | ApiName | string | The second text string. |
Returns
boolean
Example
- Code
- Result
let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.EXACT("MyPassword", "mypassword"));