I'm trying to write a conditional that compares two strings. If string one is contained in string 2, the conditional is true.
string1 = 'cat'
string2 = 'cat, dog, mouse'
How can I modify the above code to be CONTAINS instead of IS?
Thanks!
string1 = 'cat'
string2 = 'cat, dog, mouse'
<if condition="$string2 == $string1">
This is stuff only a cat member will see...
</if>
This is stuff only a cat member will see...
</if>
Thanks!
Comment