data have;
have="amazing,123 cruise|amazing2,123 cruise2|";
want=prxchange('s/\,[^\,\|]+\|/|/',-1,have);
run;
proc print;run;
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!