TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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