Hello SAS experts.. I have searched google for an answer to this question, but no luck.. I want to find the first number in a string that has more than 4 digits. I have this data data have;
string="fhwfwoeuh, 12314, fjweipfjwp 214155";output;
string="Hello, 112345 Joifhew, 12-08-2017";output;
string="12343 dfnweon 12.08.17";output;
run;
and I want this data want;
firstnumber="12314";output;
firstnumber="112345";output;
firstnumber="12343";output;
run; Thank you in advance
... View more