FMX- a variables contains...syntax

Hi!
How do you verify if a variable contains a specific set of characters.
Let’s say:
my_var=“My name is Peter and I like apples”;
How do I test if my_var contains de word “Peter”?
thanks.