最新消息: 新版网站上线了!!!

js利用分隔符分隔字符串

   //+++++++++++add +++++++++++++//
         if(data.flag==0){
           object = data.object;
           object_arr = object.split(">>");   //分割
           //first = object_arr[0];
           //second= object_arr[1];
           //third = object_arr[2];
           //row.cells[3].innerHTML='<{$lang_object_arr[0]}>';
         }else if(data.flag==1){
            row.cells[3].innerHTML=data.object; 
         }
        //+++++++++++add +++++++++++++//
.....

转载请注明:谷谷点程序 » js利用分隔符分隔字符串