Tuesday 18 February 2014

Filled Under:

Remove first 4 characters of a string php

                       here you can easily remove character from a string using php. below given example,

Syntex : 


substr('string here', 'character length for remove'); 

Example : 


$str = "easyscript demo."
$str2 = substr($str, 4); 
 
Output :
 
script demo. 




0 comments:

Post a Comment