data Prairie; set prog2.People; /* Second argument to INDEX function must include a period to avoid extraneous results. */ if index(CityState,'IL.') > 0; run; proc print data=Prairie; run;