TRIM_CHARS
Retorna a string fornecida sem caracteres iniciais ou finais.
Sintaxe
TRIM_CHARS(characters, input)
Argumentos
| Nome | Tipo | Descrição | Valor padrão |
|---|---|---|---|
| characters | caractere | ||
| input | caractere |
Retorna
Retorna um valor string.
Exemplos
| characters | input | Saída |
|---|---|---|
| "-=" | "-==–Hello World—=—" | Hello World
|
| "-" | '' | `` |
| "-" | "———–" | `` |
| "-" | "x———–" | x
|
| "-" | "———–x" | x
|
| "-" | "——x—–" | x
|
| "-" | "x———–x" | x-----------x
|