Use "like" into IF and SWITCH

Hi All,

I have a variable that contain some text.
I would like to insert a "like" into a SWITCH, to check if the text contain a specific word.

How can I implement this?

I have seen "substr()" but you can check only a specific letter, plus you nee to know the length, and unfortunately is not my case.

Many thanks!!
Hi Simon,

you can use the Index built in function.
Many thanks Joao!!