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"; } ?>
No comments:
Post a Comment