XenoGuard Documentation

Ends With

Actions » Programming » String Operation » Comparison » Ends With 

The action Ends With inspects whether the last character(s) of a string value matches a specified string 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 Ends With 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]
Ends with String
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 (Compares the ending string of a variable):

This example checks the string value of the local Email variable if it ends with the specified fixed value. The boolean result is then output via Write Text.

See other comparison operations:

Equals
Starts with