kongzy
2023-11-24 ebe94e19812a1b24257d60831ec932756855e94b
1
2
3
4
5
6
7
8
9
10
11
package com.gkhy.system;
 
import cn.hutool.core.convert.Convert;
 
public class DemoTest {
    public static void main(String[] args) {
        String a="1,2,3";
        Long[] ar= Convert.toLongArray(a);
        System.out.println(ar);
    }
}