trim

Removes whitespace around a text string.

Syntax

trim(text)

Parameters

text can be any of the following:

  • Static text, such as "GDN".
  • A Search Ads 360 variable that is a String, such as Keyword, Campaign, and so on.
  • An expression or formula column that returns a String.

Examples

  • [trim(" a ")] returns "a".
  • [trim("  double  spaces  ")] returns "double spaces".

Related links

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
16283782285648184576
true
Search Help Center
true
true
true
true
true
5055977
false
false