The "string_trim" Function
Syntax#
| Argument | Type | Description |
|---|---|---|
str | string | The string to modify |
[filter] | string | Optional: A custom list of characters to be trimmed |
Description#
Removes spaces from either side of the string and returns the trimmed result.
If a filter is supplied, any character in the filter string will be trimmed instead. (To also trim spaces, include a space in the filter string.)

X1