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