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 (December 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 21 Dec 2004 10:57:48 -0500
Reply-To:     Igor Kurbeko <ikurbeko@ATHEROGENICS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Igor Kurbeko <ikurbeko@ATHEROGENICS.COM>
Subject:      Display trailing blanks in a variable (proc print) ???
Content-Type: text/plain; charset="us-ascii"

Hi, guys.

I have a variable with trailing blanks.

However PROC PRINT won't display them unless I use FORMAT statement.

Is there another way to do it (since format statement is not very convenient for what I'm trying to do)?

Here's my code:

data one;

*format t1 $30. ;

t1="7 ";



proc print data=one;



Igor Kurbeko

Clinical Programmer Analyst

678 336 4328

Amateurs hope, professionals work

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