通过串口将传输进来的字符变为数组失败,附报错图
时间:10-02
整理:3721RD
点击:

小白跪求各位众神指导,本想通过串口将传输进来的字符变为数组,却遇到
这样的问题,如果有大神有更好的方案跪请不吝赐教
字符变为数组,不想用for循环的话,你可以用两个函数来完成这个功能,首先用array to spreadsheet string 函数,delimiter设置成\r\n , 然后用search and replace string, 参数replace all 设置成true, 将\r\n全部替换成空字符就可以了
参考:http://bbs.elecfans.com/jishu_210745_1_1.html
