The "string_trim" Function
#
SyntaxArgument | Type | Description |
---|---|---|
str | string | The string to modify |
[filter] | string | Optional: A custom list of characters to be trimmed |
#
DescriptionRemoves 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.)