Powered by Zoomin Software. For more details please contactZoomin

Rule Language

Equals when using Strings

  • Last Updated: October 26, 2026
  • 1 minute read
    • Corticon.js
    • Version 2.4
    • Documentation

SYNTAX

<String1>.equals(<String2>)

Returns a value of true if <String1> equals <String2>, including character case. This is alternative syntax to equals used as a comparison.

USAGE RESTRICTIONS

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

This sample Rulesheet uses .equals to compare the contents of string1 and string2, and assign a value to boolean1 as a result.

A sample Ruletest provides three sets of string1 and string2. Input and Output panels are shown below. Notice how these results differ from those shown in the .equalsIgnoreCase example.

Alert