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

NameTypeRequiredDescription
leftHandSidestringYesString for the left hand side of the expression
operatorstringYesOperator to use
rightHandSidestringYesString for the right hand side of the expression