XenoGuard Documentation

Starts With

Actions » Programming » String Operation » Comparison » Starts With 

The action Starts With inspects whether the first character(s) of a string value matches with 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 Starts 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]
Starts 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 (Verify the beginning string value of a variable):

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


See other comparison operations:

Equals
Ends with