qqqqld
幼苗
共回答了8个问题采纳率:87.5% 举报
public class Test {
x09public static boolean isEquals(String str1, String str2){
x09x09str1 = str1.replaceAll(" ", "").replaceAll("[\pP‘’“”]", "");
x09x09str2 = str2.replaceAll(" ", "").replaceAll("[\pP‘’“”]", "");
x09x09if(str1.equalsIgnoreCase(str2))
x09x09x09return true;
x09x09return false;
x09}
}
1年前
10