XenoGuard 4.0 Documentation
Ends With
ActionStep Reference » Programming » String Operation » Comparison » Ends With
The ActionStep 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
- Open the Programming node in the Workspace Explorer.
- Open the String Operation node.
- In the Comparison node, select the Ends With ActionStep.
Parameters:
The ActionStep 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 ActionStep 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.