摘要:
public static void main(String[] args) { String company = "华厦世纪(厦门)地产"; // System.out.println(str.indexOf("司")); // System.out.println(str.substring(0,str.indexOf("代理有限公司"))... 阅读全文
摘要:
public static boolean isContainNumber(String company) { Pattern p = Pattern.compile("[0-9]"); Matcher m = p.matcher(company); if (m.find()) { ret... 阅读全文