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 (September 2010, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 27 Sep 2010 06:06:09 -0400
Reply-To:     "Ravinder.Maramamula" <ravinsun@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Ravinder.Maramamula" <ravinsun@GMAIL.COM>
Subject:      Character and Alphanumeric values
Content-Type: text/plain; charset=ISO-8859-1

Hi list,

I have a dataset and it contains a character variable which has mixture of values like character and alphanumeric. I want to validate the dataset and remove all the alphanumeric values and place it in another dataset.

data have ; infile datalines; input var; datalines; aa ab abc abcde .... ... abcdefghijklmnopqrstuvwxyz a23 b1 ab2 ; dataset want: aa ab abc abcde ..... ..... abcdefghijklmnopqrstuvwxyz ; Do we have any informat which would directly read telephone numbers of type (987)6543210 as 9876543210.

Thanks in advance for your time.

Regards, Ravi


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