java中忽略字母大小寫判斷相等

String a="ABCD"; String b="abcd"; System.out.println(a.equalsIgnoreCase(b)); 結果輸出爲true
相關文章
相關標籤/搜索