Skip to main content
Question

The "Contains" Filter condition continues even if there is no space before the letter.

  • July 23, 2023
  • 1 reply
  • 90 views

greenhouseautomation
Forum|alt.badge.img

Dear community,

 

It seems that using the filter “contains” and then using input “ x “, i.e. space before and after also executes to true even if there is no space before the letter in the relevant variable. For example, “Alex” continued. 

 

Is there any other way how to configure the Zapier filter step rather than having to use Code?

 

Many thanks!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • July 24, 2023

Hi there @greenhouseautomation,

The "Contains" filter operates by scanning entire strings and individual characters without considering spaces. If you designate " x ", it will disregard the spaces and look for the character "x" everywhere it can. 

If you're looking for a more precise match, you might consider using the "Exactly matches" filter instead. This filter will only return true if the field's content is exactly the same as the input, including spaces.

Hopefully, this helps! 😊