获取一个字符串在另个字符串中出现的全部位置

public class StringTest { public static void main(String args[]) { String s = "hello, this is a test this is a test this is a this is test"; String p = "test"; for(int i = 0;
相关文章
相关标签/搜索