时间:2021-07-01 10:21:17 帮助过:16人阅读
$county="大中华区"; echo "".$ci=iconv_strlen($county,"UTF-8").""; for($j=0;$j<$ci;$j++){ echo $e.=iconv_substr($county,$j,$j); }
------解决方案--------------------
大 中 华 区 [User:root Time:19:21:36 Path:/home/liangdong/php]$ cat mb.php
------解决方案--------------------
$county="大中华区"; $array=str_split($county,2);
------解决方案--------------------