java—字符串比较忽略大小写

String A = "aaa";
String B = "AAA";

A.equalsIgnoreCase(B)

猜你喜欢

转载自www.cnblogs.com/erchun/p/11904271.html