摘要: /** * 方法一:使用indexOf和subString方法,循环判断并截取 */ // zhangsan // 查找n出现的次数 public static void getStrCount1(String str, String con) { int count = 0; while (str 阅读全文
posted @ 2021-02-14 19:39 Java小白的搬砖路 阅读(167) 评论(0) 推荐(0) 编辑