TRY NEW VERSION

EXACT

EXACT(arg1, arg2) → { boolean }

Checks whether two text strings are exactly the same, and returns true or false. This function is case-sensitive.

Parameters:

Name Type Description
arg1 string

The first text string.

arg2 string

The second text string.

Returns:

Type
boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.EXACT("MyPassword", "mypassword"));
builder.SaveFile("xlsx", "EXACT.xlsx");
builder.CloseFile();

Resulting document