String Ops

I have searched and am unable to find something like this.
Is it possible to look for a certain string within a string?
Sort of like:

string = “123xyz567”
if string contains “xyz”
do something
end if

Thanks