LoginSignup
5
7

More than 5 years have passed since last update.

全角カナを半角カナにする

Last updated at Posted at 2016-01-17

自分で調べて扱っている記事が少なかったのでメモ

let 代入したい変数 = NSMutableString(string: 変換したい文字) as CFMutableString
CFStringTransform(代入したい変数, nil, kCFStringTransformFullwidthHalfwidth,false)

これでいけると思います

5
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
7