In order to check if a substring is present in a string:
if (strpos($haystack,$needle)!==false) {...}
But need to check if any array value contains a string.
For ex: check if "oran" is contained in any value of $arr
$arr=array('orange1','orange2','orange3')
Always can do foreach and analysze every array value with strpos.
But is there an elegant and nice alternative?