A String Comparison Condition is a product bean condition that can be used to determine whether or not a product bean is visited or skipped based on whether or not the Source field matches the Compare Text field using the specified Operation.

The Source is compared to the Compare Text using the rules specified by the selected Operation.

The Source and the Compare Text properties are both resolved using string resolution prior to executing the comparison operation. This enables the developer to easily include conditions based on any strings for which a string resolver is available. Examples of this condition's usefulness include the ability to test Java system property values such as java.version using $J(java.version) or product bean properties using the $P string resolver.

For more information about string resolution, see the MultiPlatform User's Guide, Chapter 1 - Getting Started, Subchapter 1.9 - String Resolution.

For more information and step-by-step instructions for setting up a String Comparison Condition, see the MultiPlatform User's Guide, Chapter 2 - The Product View, Subchapter 2.2 - Product Beans/Conditional Product Bean Execution/String Comparison Conditions.