--- title: "TRIM()" slug: "trim" updated: 2025-10-14T16:28:36Z published: 2025-11-19T15:54:21Z canonical: "support.tulip.co/trim" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # TRIM() ## Description Trims the given character(s) from the ends of the given string ## Available In - **Apps** - **Automations** - **Analysis** ## Syntax TRIM(text: Text, chars?: Text) => Text ## Example TRIM(" abc ") = "abc" trim("**abc**", "*") = "abc"