... 成数组,然后排序$arr = mb_str_split($string); if($sort == 'asc'){ sort($arr);//值升序}else{ rsort($arr);//值降序} //返回新字符串$string ...
確定! 回上一頁