Trim
Remove spaces, or the characters you list, from both ends, the start or the end of a text.
Command in the String toolkit · id ooa.string/trim · 3 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Source text. | |
| Side | String | No | both | Which end to trim. |
| Characters | String | No | Characters to remove, e.g. 0 or *-; whitespace when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| result | String | Trimmed text. |