求JS字符串操作写法,急!~var str="box1=1523|box2=4323,4234,2564,4214|box3=463,2345,214"function add( id, box, str ){ var arr = str.spli2023-02-21JavaScript80