Skip to main content Skip to complementary content

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!