Question: Which of the following function is used to divides the string into an array of sub strings using delimiter?
A
B
C
D
explode()
B
substr()
C
split_str()
D
sub_str()
Note: Not available
$email="jahid@yahoo.com"; $a = strstr($email, '@', true); $b=strstr($email, '@'); echo $a.'@'.$b;
<?php $sString=”Bangladesh”; Echo substr($sString,0,6); ?>