Skip to content

Instantly share code, notes, and snippets.

@khannedy
Created November 29, 2011 16:43
explode php
<?php
$string = "Eko Kurniawan Khannedy Strip Bandunk";
$array = explode(" ", $string);
print_r($array);
?>
<?php
fungtion explode($delimiter, $string){}
?>
Array ( [0] => Eko [1] => Kurniawan [2] => Khannedy [3] => Strip [4] => Bandunk )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment