PHP - Check if string contains another string

https://stackoverflow.com/questions/4366730/how-do-i-check-if-a-string-contains-a-specific-word

This will check if the word are is included in the sentence How are you?

$a = 'How are you?';

if (strpos($a, 'are') !== false) {
    echo 'true';
}