heheng
2025-11-14 144e2cf02a6ecc5f417a91b52a9f1fc81a365621
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);
    }
}