OK, I was able to transpose all distinct values of a column into separate columns, thanks to KendallTech and Wolfen351, now all I want to do is the complete opposite.
I have a character string with elements separated by a semicolumn (;). I want to take that string, and split each element into an array (or just different columns) and use the ";" as a separator as each element has a variable size. That's it.
ex.: String_Var = EL1 ;EL2 ;EL3; etc ..
Result wanted :
Column1 Column2 Column3
EL1 EL2 EL3
SAS Help is terrible ! I can never find what I'm looking for in there, and I noticed that there is not a lot of support for SAS programming issue (even @expert exchange - which is still the best place to look for info)
I would prefer an answer using the SAS programming language but SQL statement in the following format could also work:
proc sql;
code
quit;
Thanks
Start Free Trial