substr.php

<?
$x="hello world";
echo $x."<p>";
$y=substr($x, 0, 3);
echo "substr(\$x, 0, 3), ",$y;
$z=substr($x, -5, 4);
echo "<br>substr(\$x, -5, 4), ",$z;
?>
 
info/substr.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki