摘要: 主要是练习String类中indexOf的用法 /** * 查找一个字符串在另一个字符串中出现的次数 */ public class MainTest { public static void main(String[] args) { int count = countSubString("hel 阅读全文
posted @ 2020-08-27 11:01 雨中遐想 阅读(3290) 评论(0) 推荐(0)