摘要: 该方法中判断当前字母是大写字母还是小写字母的方法是: a a.toUpperCase() 或者 a a.toLowerCase() 上面的方法中判断大小写的方法是: 在搜查出的大小写字母中,char >= 'a' 是小写字母;反之值大写字母。 注意: 1)toUpperCase(),toLowerC 阅读全文
posted @ 2018-11-30 19:27 Lyra李 阅读(438) 评论(0) 推荐(0) 编辑