ContainsString
From the Scripting Manual
function ContainsString(haystack, needle: string): boolean; Parameter Info: haystack (String): String to search in. needle (String): String to search for. Description: This function will return TRUE or FALSE if (needle) is found in (haystack)
Examples
var
MyString: string;
begin
MyString := 'Catch me if you can!';
ContainsString(MyString,'find me'); // False
ContainsString(MyString,'Catch'); // True
ContainsString(MyString,'you'); // True
end;