heheng
2025-06-25 c5cd059cbf5cec74bf82f1dab96235eaeb60151b
1
2
3
4
5
6
7
8
9
10
11
package com.gkhy.exam.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);
    }
}