> substr ~ Online tutorial

substr

substr() function returns the part of string
Syntax
substr(string,start,length)
Example

<?php
// returns the part of string
echo substr("hello india",6);
echo substr("hello india",6,5);
?>

Output
india
india

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: