For extracting a substring, ____ function is used.
For extracting a substring, ____ function is used. Correct Answer substr
The substr function extracts a particular substring from a string based on the value of specified indices. For example, $x= “abcdefghijklm” $y= substr( $x, -3,2); // extracts two characters from the third position on the right side print “$y”; // prints kl
মোঃ আরিফুল ইসলাম
Feb 20, 2025