Extracting Part of a String with substr() : Sub string : String PHP Source Code


PHP Source Code » String » Sub string »

 

Extracting Part of a String with substr()



<?
$test = "scallywag";
print substr($test,6);
print substr($test,6,2);
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo String
» Sub string