摘要:
public static void main(String[] args) { String company = "华厦世纪(厦门)地产"; // System.out.println(str.indexOf("司")); // System.out.println(str.substring(0,str.indexOf("代理有限公司"))...
阅读全文
posted @ 2016-08-29 15:15
山高似水深
阅读(10980)
推荐(0)
编辑
摘要:
public static boolean isContainNumber(String company) { Pattern p = Pattern.compile("[0-9]"); Matcher m = p.matcher(company); if (m.find()) { ret...
阅读全文
posted @ 2016-08-29 14:29
山高似水深
阅读(9913)
推荐(0)
编辑