Katalon Recorder, How to verify a sentence has a specific word

1)store text (a sentence, or first word of the sentence)
2)store specific word
3)check if (1) has (2) go to (4), is (1) has no (2) go to (5)
4)click return
5)appendToCSV

I have to idea how to do, please help me. thank you.

my idea:

storeText | id=textfield | sentence
store | specific word | string
if | storedVars[‘sentence’].includes(‘string’)
click | return
else
appendToCSV
endif

many greetings

Martin :de: