data a;
input id $ col $;
cards;
01 hnk,www
02 jww,svd
;
run;
data b;
set a;
do i=1 to countw(col);
col1=scan(col,i);
output;
end;
drop col i;
run;
数据集 a:
数据集 b:
data a;
input id $ col $;
cards;
01 hnk,www
02 jww,svd
;
run;
data b;
set a;
do i=1 to countw(col);
col1=scan(col,i);
output;
end;
drop col i;
run;
数据集 a:
数据集 b: