Date: Fri, 23 May 2003 12:39:46 -0700
Reply-To: Jeff Morison <jmt_mtf@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jeff Morison <jmt_mtf@YAHOO.COM>
Subject: Repeating consonants and vowels
Content-Type: text/plain; charset=us-ascii
I need to drop repeating consonants(except the first
occurance) and all Vowels(if it is not the first
letter of the name) in the first_name variable I have
in a SAS dataset for a project which involves
standardizing names.
How can I do this in SAS.
For example;
first_name resulting_var
Briggs Brgs
Jeffery Jfry
Williams Wlms
Atkinson Atknsn
Abraham Abrhm
Briggs Brgs
TIA,
Jeff
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|