Determines whether this string and a specified System.String object have the same value. Comparison is case-insensitive.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean string.equals(string first, string second)
boolean string.equals(string first, string second, boolean caseSensitive)

Parameters

Name Data Type Description
first String The first.
second String The second.
caseSensitive Boolean If set to true, the comparison is case sensitive.

Return Value

Data Type Description
Boolean Boolean

Expand image Example

SXML