compareStrings()
Overview
public boolean function compareStrings(
required string leftHandSide
, required string operator
, required string rightHandSide
)
Returns true or false based on the comparison of two strings + the supplied operator. Valid operators are: eq
, neq
, contains
, startswith
and endswith
.
Arguments
Name | Type | Required | Description |
---|---|---|---|
leftHandSide | string | Yes | String for the left hand side of the expression |
operator | string | Yes | Operator to use |
rightHandSide | string | Yes | String for the right hand side of the expression |