主页
PHP
PHP - 修改字符串
tryphp_string_explode
运行 ❯
×
更改方向
保存代码
更改主题
<?php $x = "Hello World!"; $y = explode(" ", $x); //Use the print_r() function to display the result: print_r($y); ?>
Array ( [0] => Hello [1] => World! )