KODE PPC ANDA
To get part of a string in PHP, we use a substr() function.
Syntax:
substr(string,start,length)
example:
$str = "Welcome";
$part_str = substr($str,0,3);
echo "$part_str";
Result:
WelKODE PPC ANDA
Original design by Blogging Secret | Blogger Templates | Free Blogger Templates | Tutorial Blogger
0 comments
Post a Comment