By using Below Code it is possible to found that whether a string has searching String
<?php
$str = "Hi Me Find";
$find = "Me";
if(sizeof(explode($find,$str))>1)
{
echo "Me Found";
}
else
{
echo "Me Not Found";
}
?>
0 comments:
Post a Comment