Mega Code Archive

 
Categories / Php / Strings
 

Substr-2 php

<?php     $car = "2009 Ford";    echo substr($car, 0, 4); ?>