Hi:
I was going to recommend the PRX (Perl Regular Expressions) method, too -- but Tim beat me to it. Perl regular expressions are cool and were introduced in SAS 9. For more info, see here:
http://www2.sas.com/proceedings/sugi29/265-29.pdf
http://support.sas.com/rnd/base/datastep/perl_regexp/index.html
http://analytics.ncsu.edu/sesug/2006/AP09_06.PDF
http://www.pharmasug.org/2005/TU02.pdf
I think that otherwise, something with scan, substr, findc, anyalpha and/or notalpha functions could help you divide the address into the leading zeroes and the rest of the field -- but not as elegantly as PRX functions.
cynthia
... View more