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 (April 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 14 Apr 1999 19:56:17 +0100
Reply-To:     Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Subject:      Re: how to read initial blanks
In-Reply-To:  <0A256753.006420F0.00@sw-ln1.swri.omc.ja.dtra.mil>

Laurence P Adair <ladair@SWRI.OMC.JA.DTRA.MIL> writes >Thanks to everyone who told me to use the $char30. informat to preserve >leading blanks. Actually, I had tried that, but what was messing me up was >the fact that the Put statement does not preserve leading blanks. I was >using Put to see what the data looked like and it would truncate the first >set of blanks. However, when I printed the dataset, I could see that all >of the leading blanks were actually there. > >Thanks again, >Laurence >ladair@swri.omc.ja.dtra.mil

When you want leading blanks preserved by a put statement, use that $charN. format, again !

-- Peter Crawford


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