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 (April 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 5 Apr 2002 01:41:38 GMT
Reply-To:     Tim and Salene <timandsalene@AARTWOLF.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Tim and Salene <timandsalene@AARTWOLF.COM>
Organization: Concentric Internet Services
Subject:      Re: A space problem
Content-Type: text/plain; charset=us-ascii

Try the $CHAR. informat.

Jason Sun wrote: > > Dear SAS users, > > What is the option to read the leading spaces into > part of a character variables. In another words, if I > have a file look like > > John Smith > Smith > Peter Smith > > I can read in using statement "input name $ 1-20". But > I like to have the name variable to have the value for > the second record as " Smith" rather than "Smith". > > Thanks a lot, > Jason Sun > Amazon.com > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/


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