Hi there,
below is code to get ParkType, as Monument or Park.
data np_summary2;
set pg1.np_summary;
ParkType=scan(parkname,-1);
keep Reg Type ParkName ParkType;
run;
I would be interested to see ParkType, as National Monument or National Park.
How to do it using SCAN or other function?
I can created separate two column and then concatenate, but would want simple or short way to do the same.
Thanks!