Created
November 29, 2011 16:43
explode php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$string = "Eko Kurniawan Khannedy Strip Bandunk"; | |
$array = explode(" ", $string); | |
print_r($array); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
fungtion explode($delimiter, $string){} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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