- TIBCO BusinessEvents®
- Standard
- String

# String.split()

## Signature

`String[] split(String str, String regex)`

## Domain

ACTION, CONDITION, QUERY

## Description

Splits this string around matches of the given regular expression. Trailing empty strings are not included in the resulting array.

## Parameters

Name | Type | Description
--- | --- | ---
`str` | `String` | A String to be splitted.
`regex` | `String` | the delimiting regular expression.

## Returns

Type | Description
--- | ---
`String[]` | the array of strings computed by splitting this string around matches of the given regular expression.