Created
June 14, 2013 07:16
-
-
Save sugarHoge/5780056 to your computer and use it in GitHub Desktop.
文字チェック
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$i_target = mb_convert_encoding($i_target, 'UTF-8', 'JIS-win'); | |
if (strlen($i_target) > 0) { | |
$trimCount = trim(mb_convert_kana($i_target, "s")); | |
if (strlen($trimCount) < 1) { | |
// 空白のみ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment