Chrome Extension

Split string in PHP

<?php
    $str = "Make the world a better place";
    $parts = explode(' ', $str);
?>

Split the string into an array.

Was this helpful?
0 Comments
Never leave your website again in search of code snippets by installing our chrome extension.