libname results 'c:\cert\output'; data results.output03_1 (drop=n); set cert.input03; n=find(major,'and','i'); if n^=0 then do; second_major=subtr(major,n+4); major=subtr(major,1,n-2); end; run;
What do the above bold parts "i" "n+4" and "n-2" mean?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.