String find Demo : String Find : String PHP Source Code


PHP Source Code » String » String Find »

 

String find Demo




<?
$string_to_search = "showsuponceshowsuptwice";
$string_to_find = "up";

print("Result of looking for $string_to_find" . strstr($string_to_search, $string_to_find));

$string_to_find = "down";

print("Result of looking for $string_to_find" . strstr($string_to_search, $string_to_find));
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» String Find