獲取一個字符串在另個字符串中出現的全部位置

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;
相關文章
相關標籤/搜索