Notification

Please be advised that the Customer Support team does not provide troubleshooting services in your current display language. To contact Support team staff, please first switch to English or other supported languages (Spanish, Portuguese or Japanese). 

substitute_all

Replaces multiple values in a string with a single value.

Note: This function is only available in Templates and can't be used in reporting.

Syntax

substitute_all(ATTRIBUTE, "to text", "from text", "from text 2", "from text 3")

Parameters

  • Attribute: A feed attribute, such as ITEM_TITLE, ITEM_COLOR or ITEM_BRAND.
  • to text: The value that replaces the items.
  • from text: The values that you want to replace.

Examples

[substitute_all(ITEM_TITLE, "", "®", "Men's ", "Women's ")]

replaces the trademark symbol, Men's and a space, and Women's and a space in the title of an ad with blank.

The substitute_all function replaces the following nested functions:
[substitute(substitute(substitute(ITEM_TITLE, "®", ""), "Men's ", ""), "Women's ", "")]

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
16067776288953049072
true
Search Help Centre
true
true
true
true
true
5055977
false
false