How to slove the wrong result about string contain condition?

I named a pattern variable,the value is “H&S pattern”,I create a contain condition “H&S”,but it return false.would you help me to slove the problem to get the true result.any help is welcome.

1 Like

Hi @liequanche ,
not sure what’s going wrong with your setup.
I tried is as well and it seems to work in my case. Can you post a screenshot of the variable and the condition?
Here’s the condition setup I used:

1 Like



1 Like

I think the issue is that you put quotes around the search string.
Can you remove them and try again?

1 Like

thank you very much.I slove the problem follow your instructions in the case that the value is “H&S”,but the another condition which value is"Inverted H&S".I dont know how to deal with.
any help is welcome.



1 Like

Isn’t it the same issue with the quotes?

1 Like

the help online tell me that You can enter multiple values separated by a whitespace. I use whitespace separate the multiple words. the word in each quota must be complete.

1 Like

You cannot group multiple words with quotes - that is not supported.
We have a feature request in the backlog to use commas, but that’s not done yet.

If you need to match multiple words exactly, use the “Match exactly” comparison type.

1 Like