String字符串转list<String>

        String str = "'0ec93d13eaae488db7f9f644cb4885c3','fsfds','sdfsdfsd'";
        List<String> list = Arrays.asList(str.split(","));
        list.forEach(s -> {
            System.out.println(s);
        });
    }

 

posted @ 2022-07-12 09:21  _Lawrence  阅读(438)  评论(0编辑  收藏  举报