equal
The equal function (see screenshot below) returns Boolean true if a is the same as b; false otherwise. The comparison is case-sensitive.

Example:
a = hi
b = hi
In this example, both values are the same. Therefore, the result is true. If, for instance, b equaled Hi, the function would return false.
Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Argument | Description |
---|---|
a | Mandatory parameter. Provides the first value to compare. |
b | Mandatory parameter. Provides the second value to compare. |