Hello,
The prxmatch program below is searching the created macro list as 'CAR|IL|VN|KK'. However, I would like the search be more restricted. Instead of containing the ''CAR|IL|VN|KK'' string in the text, I like to match 100% these two letters. Please advice how to change this prxmatch codes. Thank you.
if prxmatch ("/&Jurisdiction_list./i",id) then TempID=id;
The following sample data set is
data datain;
infile datalines dsd;
input ID : $300. ;
datalines;
CAR ID MA,
ILH,
PAUL VN,
KKK GGGG,
Card ID BMA,
Care ID FMA,
;
run;
The final result I am looking for is only at the 1st and 3rd row.
... View more