TRIM_CHARS
Returns the given string without leading or trailing characters.
Syntax
TRIM_CHARS(characters, input)
Arguments
| Name | Type | Description | Default Value |
|---|---|---|---|
| characters | string | ||
| input | string |
Returns
Returns a string value.
Examples
| characters | input | Output |
|---|---|---|
| "-=" | "-==–Hello World—=—" | Hello World
|
| "-" | '' | `` |
| "-" | "———–" | `` |
| "-" | "x———–" | x
|
| "-" | "———–x" | x
|
| "-" | "——x—–" | x
|
| "-" | "x———–x" | x-----------x
|