find string inside a string# code example Example: if part of stringp ph $a = 'How are you?'; if (strpos($a, 'are') !== false) { echo 'true'; }