|
Thanks ! ...
> %macro type(txt);
> %let txt=(upcase(compress(&txt," ","psc")));
> (ifc(prxmatch("/RE*MO*DE*L/",&txt),"REMODEL","BUILDNEW"))
> %mend type;
What if you have a bunch of regex'es you want to match? The sample I
gave only had the two alternatives, but really I have one for REMODEL,
SINGLE FAMILY, MULTI, DUPLEX, etc.
|