- TIBCO BusinessEvents®
- Standard
- String

# String.equals()

## Signature

`boolean equals (String s1, String s2)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Compares two Strings and returns a boolean indicating whether they are equal.

## Parameters

Name | Type | Description
--- | --- | ---
`s1` | `String` | A String to compare.
`s2` | `String` | A second String to compare.

## Returns

Type | Description
--- | ---
`boolean` | true if the Strings are equal, otherwise returns false.

## Cautions

none