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 (October 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 20 Oct 2004 00:42:01 -0700
Reply-To:   mark b <mark.barlow@FINSERVICES.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   mark b <mark.barlow@FINSERVICES.CO.UK>
Organization:   http://groups.google.com
Subject:   Help needed extracting digits from vars please.
Content-Type:   text/plain; charset=ISO-8859-1

I have a variable stored as an integer e.g var = 200409

Is there a function that exists that will allow me to extract the last two numbers from the right of this value?

i.e newvar = 09

Thanks

Mark


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