java中忽略字母大小写判断相等

String a="ABCD"; String b="abcd"; System.out.println(a.equalsIgnoreCase(b)); 结果输出为true
相关文章
相关标签/搜索