Mega Code Archive

 
Categories / Php / Strings
 

Setting up and working with both strings and substrings

<?php      $mystring = "Hello World!";      echo $mystring . "<br />";      echo substr ($mystring,0,5); ?>