data a;
input city :$8. distr :$8. bk :$20. gj :$100.;
cards;
上海 宝山 大华板块 7号线,737,738,11号线,58,78
上海 嘉定 嘉定新城板块 3号线,嘉环二线,11号线
;
run;
proc sql ;
select max(countc(gj,','))+1 into :maxline
from a;
quit;
data b;
set a;
array line(&maxline) $20.;
do i = 1 to countc(gj,',')+1;
line(i) = scan(gj,i,',');
if i = countc(gj,',')+1 then output;
end;
drop i;
run;



雷达卡





京公网安备 11010802022788号







