摘要: public String substring(int beginIndex, int endIndex) { if (beginIndex value.length) { throw new StringIndexOutOfBoundsException(endIndex); } int subLen = endInd... 阅读全文
posted @ 2019-06-12 16:57 zqlmmd 阅读(498) 评论(0) 推荐(0) 编辑
摘要: public static boolean Isipv4(String ipv4){ if(ipv4==null || ipv4.length()==0){ return false;//字符串为空或者空串 } String[] parts=ipv4.split("\\.");//因为java d 阅读全文
posted @ 2019-06-12 16:29 zqlmmd 阅读(317) 评论(0) 推荐(0) 编辑