Date: Wed, 19 Jul 2006 12:33:35 -0400
Reply-To: Sophie <sophiestat@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Sophie <sophiestat@GMAIL.COM>
Subject: Re: Question on retrieving character data
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I will say trim(left(var1))='tom some 112'
On 7/19/06, Ya Huang <email@example.com> wrote:
> can you try this and let us know what happens?
> if left(var1)='tom some 112' then output;
> On Wed, 19 Jul 2006 09:18:56 -0700, jn mao <jn_mao@YAHOO.COM> wrote:
> >Hello SAS-Ls,
> > I have a character variable. It was set 49 lenght, but most of them
> 12 letters including number. I need to retrieve them. However, whatever I
> code to output them, they won't come out.
> > For example, my code is
> > if var1='tom some 112' then output;
> > The var1 is a 12 letters data, but its length parameter shown 49. I
> don't know how these data were entered.
> > Could someone help me on retrieving them? Thanks much.
> > Jane
> >Groups are talking. We're listening. Check out the handy changes to