detect keyword of php string

PHP
$a = 'How are you?';

if (strpos($a, 'are') !== false) {
    echo 'true';
}$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Source

Also in PHP: