摘要: // 查找某内容存在次数 public static int searchEleNum(String str,String targetEle) { if( str.indexOf(targetEle) == -1 ) { return 0; }else { return 1 + searchEle 阅读全文
posted @ 2020-04-24 10:29 ToDarcy 阅读(4925) 评论(0) 推荐(0) 编辑