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
> 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
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax