Mega Code Archive
Categories
/
Php
/
Strings
A positive substr() length parameter
$car = "1234567890"; $yr = substr($car, 0, 4); print $yr; ?>