Finding a Substring Within a String with strstr() : String Find : String PHP Source Code


PHP Source Code » String » String Find »

 

Finding a Substring Within a String with strstr()



<?
$membership = "pAB7";
if strstr$membership, "AB" ) )
   print "Thank you. Don't forget that your membership expires soon!";
else
   print "Thank you!";

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» String Find