Btrim
String Function
Description
Removes leading and trailing characters from a string.
Click here to navigate to the PostgreSQL docs page for this syntax.
Grammar Syntax
BTRIM(string TEXT, pattern TEXT)Sample Source Patterns
PostgreSQL
SELECT BTRIM('XXXSampleXXX', 'XXX');SampleSnowflake
SELECT TRIM('XXXSampleXXX', 'XXX');SampleLast updated
Was this helpful?