find a character in a string php

PHP
$myString = 'Hello Bob how are you?';
if (strpos($myString, 'Bob') !== false) {
    echo "My string contains Bob";
}strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
Source

Also in PHP: