git
heheng
2025-03-06 07a6e79342c381d4d8c98a92a216c41dc9502a09
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);
    }
}