LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 26 Aug 2003 16:38:12 +0000
Reply-To:     sashole@bellsouth.net
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul Dorfman <paul_dorfman@HOTMAIL.COM>
Subject:      Re: converting string (spaces) to numeric
Comments: To: aigonia@CA.IBM.COM
Content-Type: text/plain; format=flowed

Alvin,

Just take a look at the COMPRESS() function...

Kind regards, ================= Paul M. Dorfman Jacksonville, FL =================

>From: Alvin Igonia <aigonia@CA.IBM.COM> >Reply-To: Alvin Igonia <aigonia@CA.IBM.COM> >To: SAS-L@LISTSERV.UGA.EDU >Subject: converting string (spaces) to numeric >Date: Tue, 26 Aug 2003 12:22:22 -0400 > >Has anyone ever converted a string to numeric (ie. '1 000 000' to 1000000). > >I have a program I am trying to modify. The data has change. We use to >read the data string without any spaces but now it contains spaces. > >I don't really want to do a do-loop and check for spaces but if it's the >only way, i guess i will have to.

_________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


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