> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/string/trim.md).

# trim

## Description

Get rid of any extra spaces at the beginning or end of a text, ensuring a clean and trimmed version of the text.

## Input / Parameter

| Name   | Description              | Input Type  | Default | Options | Required |
| ------ | ------------------------ | ----------- | ------- | ------- | -------- |
| string | The value to be trimmed. | String/Text | -       | -       | Yes      |

## Output

| Description            | Output Type |
| ---------------------- | ----------- |
| Returns trimmed value. | String/Text |

## Callback

N/A

## Video

Coming soon.

## Example

Coming soon.

### Steps

Coming soon.

### Result

Coming soon.

## Links
