Come build with us.
Stacks API v6 for Stacks 2.5
%( "<string1>" <operator> "<string2>" )%
<string1> and <string2> can be any string or any property that evaluates to a string. Strings must be surrounded by double quotes.<operator> can be any of: ==, !=Inline string comparison operations can evaluate equality of strings. The output of the operation is a boolean true or false, so this can be used in combination with Integer Math.
evaluates to false:
%("Red"=="Blue")%
evaluates to true unless the user selects the droid you were looking for from the popup:
%( "%id=mySelect%" != "DroidYouLookedFor" )%
evalutes to true especially for Yoda
%(
%(
%( "%id=value%" == "Do" )% ||
%( "%id=value%" != "Do" )%
)% &&
%( "%id=value%" != "Try" )%
)%