explode()

It splits a string by string

Example

<?php
echo “<pre>”;
print_r(explode(” “,”php jsp asp”));
?>

Output

Array
(
[0] => php
[1] => jsp
[2] => asp
)