proc transpose data=person out=person_t(drop=_name_); by name; var products; run;
data person2; set person_t; all_prods=catx(',',of col:); if prxmatch('/Apple,Pear|Pear,Apple/i',all_prods); run;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.