- TIBCO BusinessEvents®
- Standard
- Instance
- PropertyArray

# Instance.PropertyArray.indexOfString()

## Signature

`int indexOfString(PropertyArrayString arr, String value)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns the index in the PropertyArrayString of the first occurrence of the specified String value, or -1 if the PropertyArrayString does not contain this String value.

## Parameters

Name | Type | Description
--- | --- | ---
`arr` | `PropertyArrayString` | The `PropertyArrayString` for searching.
`value` | `String` | specified `String` value to search for.

## Returns

Type | Description
--- | ---
`int` | The index of `value` in the given PropertyArrayString.

## Cautions

none