Java 驼峰字符串转下划线链接

代码:web @Test public void test8() { String str = "userLevelAndAge"; String res = String.join("_", str.replaceAll("([A-Z])", ",$1").split(",")).toLowerCase(); System.out.prin
相关文章
相关标签/搜索