The following Rulesheet uses .startsWith to evaluate whether string1 begins with the value of string2 and assigns a different value to boolean1 for each outcome.
SAMPLE TEST
A sample Ruletest provides string1 and string2 values for four examples. Input and Output panels are shown below.