php入門–explode()の簡単な利用方法

phpコード
<?php
$str = “it skill is interesting . but It change world and life.";
print_r (explode(" “,$str));

?>

結果:
Array ( [0] => it [1] => skill [2] => is [3] => interesting [4] => . [5] => but [6] => It [7] => change [8] => world [9] => [10] => and [11] => life. )

PHP

Posted by arkgame