Use "like" into IF and SWITCH

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.

http://www.outsystems.com/help/servicestudio/8.0/Language_Reference/Built_in_Functions/Text_functions/Index_Function.htm
Many thanks Joao!!