摘要:
https://www.cnblogs.com/push-blackpearl/articles/11282658.html 阅读全文
posted @ 2020-03-06 15:26
JohnTesla
阅读(160)
评论(0)
推荐(0)
摘要:
indexOf()方法:返回待匹配串的出现的第一个位置;如果不匹配,返回-1 String str1="XABCYZ"; String str2="ABC"; System.out.println(str1.indexOf(str2));//1 System.out.println(str1.ind 阅读全文
posted @ 2020-03-06 13:26
JohnTesla
阅读(2457)
评论(0)
推荐(0)