字符串分割

var data= Forguncy.Page.getCell("pp").getValue();
var str = data.split('|');	
Forguncy.Page.getCell("mc").setValue(str[0]);
Forguncy.Page.getCell("jc").setValue(str[1]);
Forguncy.Page.getCell("lxr").setValue(str[2]);
Forguncy.Page.getCell("dh").setValue(str[3]);
Forguncy.Page.getCell("logo").setValue(str[4]);

  

posted @ 2021-08-07 10:42  Kevin-lan  阅读(71)  评论(0)    收藏  举报