开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 262|回复: 2
收起左侧

[已解决] zyjson怎么把数字数组转换为文本数组

 关闭 [复制链接]
结帖率:56% (14/25)
发表于 2024-8-26 12:41:11 | 显示全部楼层 |阅读模式   山西省大同市
11精币
解析之前是这样的 "4,10023448614450,10071075514658,10027583266871,100093202419,100121605634,100117288662,10086008518568,10061326621082,10033510900448,10028210815021,10087450006114,100053527115,10073590420837,10086003646613,10028900476069,10073590420837,10028900476069,10096822314669,10059239123048,10072708391117,10082210517612,100021328226,10088455057166,10099287928822,10073743655326,100003296895,10071885207449,10094766966237,10096159025360,100091514735,10073590420837,10073590420837,100097436884,10072659538605,10085993896775,100068713557,10025018839129,10071451992313,10069125042062,10088410241241,10028900476069,10030162389105,100072205592,10095299536500,100040385481,10098096310897,100054642032,10098442054318,10077397899669,10073590420837,10073590420837,10085590868449,10072722815130,10054834095364,10073590420837,10090818861035,10100885724474,10073590420837,10086012599044,10088643678248,10073590420837,100016178461,10071498421177,10020695093476,100056554057,10025821995725,10073590420837,10083580984105,10076977713498,10069781335283,10069370302927,10072415046636,10067870608277,100059586910,10053605322368,10033639058761,10089048049786,10099708104889,10073590420837,10049009065026,10098757332458,10085995537105,10096648591313,10028900476069,100059583255,10073590420837,10099605125045,10034097628792,10095483641923,10057206257448,10092363680614,10086008670494,10074241779558,10082107430630,100095527581,10089085196965,10037584663078,10078024037608,100122558678,10099690655193,100121576988,10100221188442,100006329719,10049870067455,10075136078136,10067775076327,100003511176,10028900476069,10088078390403,10088410121443,10026833118789,10073590420837,10069365081093,10056807804736,10091784503878,100088320370,10088596042613,10068025353686,10058541278293,10086001727973,10095129237489,10086056991223,10040740886256,10084231984541,100094292019,10045338708976,10052740056447,10066440095812,10099378958170,10099474184792,10073590420837,10073590420837,10089230608299,10067824857013,10066254717742,10024346414462,10037136690471,10057626022102,10028900476069,10057086496402,10027301594703,100066022625,100071313776,10028900476069,10073590420837,100059248984,10097667502168,10023094458690,10073590420837,"

解析后是这样的:["4,10023448614450,10071075514658,10027583266871,100093202419,100121605634,100117288662,10086008518568,10061326621082,10033510900448,10028210815021,10087450006114,100053527115,10073590420837,10086003646613,10028900476069,10073590420837,10028900476069,10096822314669,10059239123048,10072708391117,10082210517612,100021328226,10088455057166,10099287928822,10073743655326,100003296895,10071885207449,10094766966237,10096159025360,100091514735,10073590420837,10073590420837,100097436884,10072659538605,10085993896775,100068713557,10025018839129,10071451992313,10069125042062,10088410241241,10028900476069,10030162389105,100072205592,10095299536500,100040385481,10098096310897,100054642032,10098442054318,10077397899669,10073590420837,10073590420837,10085590868449,10072722815130,10054834095364,10073590420837,10090818861035,10100885724474,10073590420837,10086012599044,10088643678248,10073590420837,100016178461,10071498421177,10020695093476,100056554057,10025821995725,10073590420837,10083580984105,10076977713498,10069781335283,10069370302927,10072415046636,10067870608277,100059586910,10053605322368,10033639058761,10089048049786,10099708104889,10073590420837,10049009065026,10098757332458,10085995537105,10096648591313,10028900476069,100059583255,10073590420837,10099605125045,10034097628792,10095483641923,10057206257448,10092363680614,10086008670494,10074241779558,10082107430630,100095527581,10089085196965,10037584663078,10078024037608,100122558678,10099690655193,100121576988,10100221188442,100006329719,10049870067455,10075136078136,10067775076327,100003511176,10028900476069,10088078390403,10088410121443,10026833118789,10073590420837,10069365081093,10056807804736,10091784503878,100088320370,10088596042613,10068025353686,10058541278293,10086001727973,10095129237489,10086056991223,10040740886256,10084231984541,100094292019,10045338708976,10052740056447,10066440095812,10099378958170,10099474184792,10073590420837,10073590420837,10089230608299,10067824857013,10066254717742,10024346414462,10037136690471,10057626022102,10028900476069,10057086496402,10027301594703,100066022625,100071313776,10028900476069,10073590420837,100059248984,10097667502168,10023094458690,10073590420837,"]


我需要文本的:
["4","10023448614450","10071075514658","10027583266871","100093202419","100121605634","100117288662","10086008518568","10061326621082","10033510900448","10028210815021","10087450006114","100053527115","10073590420837","10086003646613","10028900476069","10073590420837","10028900476069","10096822314669","10059239123048","10072708391117","10082210517612","100021328226","10088455057166","10099287928822","10073743655326","100003296895","10071885207449","10094766966237","10096159025360","100091514735","10073590420837","10073590420837","100097436884","10072659538605","10085993896775","100068713557","10025018839129","10071451992313","10069125042062","10088410241241","10028900476069","10030162389105","100072205592","10095299536500","100040385481","10098096310897","100054642032","10098442054318","10077397899669","10073590420837","10073590420837","10085590868449","10072722815130","10054834095364","10073590420837","10090818861035","10100885724474","10073590420837","10086012599044","10088643678248","10073590420837","100016178461","10071498421177","10020695093476","100056554057","10025821995725","10073590420837","10083580984105","10076977713498","10069781335283","10069370302927","10072415046636","10067870608277","100059586910","10053605322368","10033639058761","10089048049786","10099708104889","10073590420837","10049009065026","10098757332458","10085995537105","10096648591313","10028900476069","100059583255","10073590420837","10099605125045","10034097628792","10095483641923","10057206257448","10092363680614","10086008670494","10074241779558","10082107430630","100095527581","10089085196965","10037584663078","10078024037608","100122558678","10099690655193","100121576988","10100221188442","100006329719","10049870067455","10075136078136","10067775076327","100003511176","10028900476069","10088078390403","10088410121443","10026833118789","10073590420837","10069365081093","10056807804736","10091784503878","100088320370","10088596042613","10068025353686","10058541278293","10086001727973","10095129237489","10086056991223","10040740886256","10084231984541","100094292019","10045338708976","10052740056447","10066440095812","10099378958170","10099474184792","10073590420837","10073590420837","10089230608299","10067824857013","10066254717742","10024346414462","10037136690471","10057626022102","10028900476069","10057086496402","10027301594703","100066022625","100071313776","10028900476069","10073590420837","100059248984","10097667502168","10023094458690","10073590420837"]

怎么操作呢

最佳答案

查看完整内容

.版本 2 .支持库 spec .子程序 _按钮1_被单击 .局部变量 文本, 文本型 文本 = #常量1 文本 = 子文本替换 (文本, “,”, #引号 + “,” + #引号, , , 真) 调试输出 (文本)

回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值无答案申请取消悬赏投诉有答案未采纳为最佳

签到天数: 15 天

发表于 2024-8-26 12:41:12 | 显示全部楼层   四川省宜宾市
  
子程序名返回值类型公开备 注
_按钮1_被单击  
变量名类 型静态数组备 注
文本文本型 
文本 = #常量1
文本 = 子文本替换 (文本, “,”, #引号“,”#引号, , , )
调试输出 (文本)


i支持库列表   支持库注释   
spec特殊功能支持库

评分

参与人数 1荣誉 +1 收起 理由
笨潴 + 1 热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻!

查看全部评分

回复

使用道具 举报

结帖率:87% (13/15)

签到天数: 27 天

发表于 2024-8-26 12:45:03 | 显示全部楼层   四川省巴中市
分割替换
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
网站简介:精易论坛成立于2009年,是一个程序设计学习交流技术论坛,隶属于揭阳市揭东区精易科技有限公司所有。
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表