I have the following code:
<code>check = "red" in string_to_explore
</code>
<code>check = "red" in string_to_explore
</code>
check = "red" in string_to_explore
How can I replicate it for multiple substrings?
I tried with:
<code>check = "red|blue" in string_to_explore
</code>
<code>check = "red|blue" in string_to_explore
</code>
check = "red|blue" in string_to_explore
but doesn’t seem to work.
Thanks in advance,