SYNTAX

<String1>.startsWith(<String2>)

Returns a value of true if <String1> begins with the characters specified in <String2>. Comparisons are case-sensitive.

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

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.

A sample Ruletest provides string1 and string2 values for four examples. Input and Output panels are shown below.