JS 字符串分割数组var str = "ab0123c"var reg = .{1,3}gvar arr = str.match(reg)console.info(arr)用split()方法语法stringObject.split2023-02-21JavaScript150