摘要: /** 获取一个字符串在另一个字符串中出现的次数。判断str2在str1中出现的次数 */ public class StringExer2 { public static void main(String[] args) { String str1 = "ab"; String str2 = "a 阅读全文
posted @ 2020-08-23 10:16 wsilj 阅读(609) 评论(0) 推荐(0) 编辑