- TIBCO BusinessEvents®
- Standard
- String

# String.contains()

## Signature

`boolean contains (String s1, String s2)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Tests if the String `s1` contains String `s2`.

## Parameters

Name | Type | Description
--- | --- | ---
`s1` | `String` | A String to test.
`s2` | `String` | A String to test, if it is existing in the String `s1`.

## Returns

Type | Description
--- | ---
`boolean` | true if `s1` contains `s2`, false otherwise.

## Cautions

none