Variable condition using a variable as a search

I just want to search a variable for another variable. I created a variable condition and then contains %Variable%myVariable% and it doesn’t work. If I just put in a string that is in the 1st variable it works as it should.

Please see this topic, which should answer your question:
Store Values in Dynamically Created Variables?

If not, feel free to follow-up with any questions that you have.