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 (November 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 12 Nov 2008 08:38:34 -0800
Reply-To:   Akshaya <akshaya.nathilvar@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Akshaya <akshaya.nathilvar@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: modifying a variable
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

If the end character is always 'A' then newvar=compress(upcase(oldvar),'A')

if it's a mixture of Alphabets then newvar=compress(oldvar,,'A')

Akshaya


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