Date: Wed, 21 May 2008 14:24:03 -0500
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: proc report question
In-Reply-To: <51f9321a-acdf-4d43-bb25-257e16d51fe6@d45g2000hsc.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
just embed the split character into the string, x='infectious~disease
condition'; it should print out like you asked.
Yu
On Wed, May 21, 2008 at 1:52 PM, <drraju123@gmail.com> wrote:
> hi all,
>
> how are you doing.
>
> i have the following.
>
> data test;
> x = 'infectious disease condition';
> y = ' '||x;
> run;
>
> proc report data = test nowd headline headskip split = '~';
> columns y ;
>
> define y / width = 20 flow;
> run;
>
> i get the report as:
>
> Y
> _________________
>
> infectious
> disease condition
>
>
> i want the report as:
>
> Y
> _________________
>
> infectious
> disease condition
>
> note: there is a space infront of infectious and disease.
>
>
> Thank you.
> Rangoon
>
|