要使字符串中的所有字符都大写或小写:
let text = "AaBbCc" let uppercase =text.uppercaseString// "AABBCC" let lowercase =text.lowercaseString// "aabbcc"
let text = "AaBbCc" let uppercase = text.uppercased() // "AABBCC" let lowercase = text.lowercased() // "aabbcc"
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分 风车动漫