Source Code:
(back to article)
<?php $string = "Hello World!"; $substring = substr($string, 0, 5); echo $substring;
Result:
Report an issue