- TIBCO BusinessEvents®
- Standard
- String

# String.trim()

## Signature

`String trim(String str)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns a copy of the string, with leading and trailing whitespace omitted.

## Parameters

Name | Type | Description
--- | --- | ---
`str` | `String` | A String to be trimmed.

## Returns

Type | Description
--- | ---
`String` | a copy of the string, with leading and trailing whitespace omitted.