Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$str = "Hello world. It's a beautiful day.";
print_r (explode(" ",$str));
?> 
</body>
</html>
Array ( [0] => Hello [1] => world. [2] => It's [3] => a [4] => beautiful [5] => day. )