scalar-extension

btrim

Remove any supplied characters from both ends, not a fixed substring.

Formal Syntax & Structure

sql syntaxsql
btrim(string text, characters text)

Working Example

Example Snippetsql
SELECT btrim('xyhelloyx','xy');
SQL Reference