data have;
length content $200;
customer="x"; content="123,124,125"; output;
customer="y"; content="502,487,503,478,65"; output;
run;
data want;
set have;
do i=1 to countc(content,",")+1;
new_record=scan(content,i,",");
output;
end;
run;
Call for content now open!
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.