I am looking for a specific employer in a SAS data set. The data set has not been reviewed for spelling so if I am looking for Univ it could be entered as Unversity, University, Univercity ...
I've tried scaning, counting the matching letters, 'contains'. These are work but I am still missing some.
proc sql; create table SpecificEmployers as select * , case when employer contains 'Univ' then 'Y' else 'N' end as Emp from AllEmployers ;quit;