I need to code a search on a string and have it return a boolean value. For instance:
$string = "dog cat fish horse";
$result = stringsearchfunction('dog', $string);
Is there such a thing? I know there is a str_replace, but that doesn't return a boolean value.
Thanks!
String Search???
Moderator: General Moderators