uppercaseStringとlowercaseStringを使えばおk
var str: String = "Hello, World" str.uppercaseString // HELLO, WORLD str.lowercaseString // hello, world
スポンサードリンク
uppercaseStringとlowercaseStringを使えばおk
var str: String = "Hello, World" str.uppercaseString // HELLO, WORLD str.lowercaseString // hello, world