Java正則 Mathcer 獲取第N次出現某個字符的位置

public static void main(String[] args){ String string = "213213/13123/14432432"; //這裏是獲取"/"符號的位置 Matcher slashMatcher = Pattern.compile("/1").matcher(string); int mIdx
相關文章
相關標籤/搜索