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