"is in" function not pulling information?

Hello,

I’m trying to use the “is in” expression to help set constraints. I’m wanting the expression to find texts that fit the two characteristics but when I run it, I can see in the debugger it isn’t finding anything when using “is in.” What’s interesting is it will pull the correct look but the final step of now finding the text that is in the list and is the right type it isn’t computing.

Additionally I tested just finding the types and that worked fine on its own - its just the final step of now finding the types that exist in that list specifically.

It looks like ingredient_name is just text and Scanner's matching_product's Ingredients List is a list of Ingredients. Correct me if I am wrong? If this is case, is in won’t do the job.

Ingredient name is text and Ingredients List is a list of texts, see example screenshot below.

Then it might be a case issue? lower-case, upper-case?

I took a look at cases and they are both capitalized, but now I’m thinking it might be a spacing issue. Because when I searched for water in the list it found it, and it looks slightly more left than the rest. Is there a way to account for extra spaces in the search constraints?

Possible. Or some other non-visible character, if you copied/pasted them from some word kind of document.

Is there an easy way to account for something like that in the expression?

Figured it out! used the :trimmed expression! Thanks