Write If Condition with Contains Function

Write If Condition with Contains Function

Hello
I would like to create new function to categorize meeting according to description
for example the user write in the description "Good Morning Brother", if the function find "Morning" contains in the descritpion update the field to Morning.

How to write this code.

Thank you