The explode() function breaks the string into array. <?php $str = "Hello Everyone "; print_r (explode(" ",$str)); ?>
The output will be in the form of ARRAY.