LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page