find 3 space word in string php code example Example: contains php if (strpos($a, 'are') !== false) { echo 'true'; }