check if string include char php

PHP
if (strpos($string, 'substring') !== false) {
	// do stuff 
}$a = 'How are you?';

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

Source

Also in PHP: