[Solved] Search for word in String

Hi There!

Is there a way to check if a text input contains a word?

I currently have it set to check if variable = word, but I want the flexibility if they write something before or after. Does anyone have a way to do this?

I suppose that you can use this function:


You actually won’t need the regular expression extension for this.

There’s a built-in expression named StrFind(), which returns -1 if the text isn’t found in the string, so you can just use the “Compare two numbers” condition, with “If (YourexpressionherewithStrFind()) != -1” (doesn’t equal -1), which means that the text was found.


Thank you!

This worked perfectly.