Explode function in php examples
Explode () function:
Definition: explode is a string function. By using this
function we can divide the string as array element.
Example:
<? php
$str = "well come to explode";
print_r (explode (" ", $str));
?>
Output: - Array ([0] => well [1] => come [2] => to
[3] => explode)