XenoGuard Documentation

Equals

Actions » Programming » String Operation » Comparison » Equals 

The action Equals compares a string value is similar to another string value and stores the Boolean value in Result of the result list. 

[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. Open the String Operation node.
  3. In the Comparison node, select the Equals action.

Parameters:

The action has the following input parameters:


name Description
String The string to be compared.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Equals
The string to be used for comparing.

Allowed Context Scopes
[Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]

Results:

The action returns the following results:


name
description
Result Contains the Boolean value after comparing the strings

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]

Example 1 (Compare the string value of two variables):

This example determines if the string value of the local MD5 Hash 1 and MD5 Hash 2 variables are the same. The boolean result is then passed to the If flow control statement and checks if the value is "True". The result is then output via Message Box.

See other comparison operations:

Starts with
Ends with