Java split方法一个或多个特殊字符分割
摘要:
public static void main(String[] args) { String s = "ab|cd|ef"; //String s = "ab;cd,ef"; //String[] split = s.split(";|,"); String[] split = s.split(" 阅读全文
posted @ 2023-05-17 10:36 多言 阅读(515) 评论(0) 推荐(0) 编辑