【PHP】質問スレッドpart23【php】
■ このスレッドは過去ログ倉庫に格納されています
0779nobodyさん
04/10/25 22:30:48ID:???$input = "999− 9 9 9―99 9 9";
$before = array("−","ー","ー","−","―");
$input=mb_convert_kana($input,"as","EUC-JP");
$input = str_replace ($before, '-', $input);
$input = str_replace (' ', '', $input);
print($input);
こんなんでもいいんじゃない?
■ このスレッドは過去ログ倉庫に格納されています