Date: Wed, 26 Jul 2006 13:29:35 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: Concatenating character values?
In-Reply-To: <1153864318.120928.292840@b28g2000cwb.googlegroups.com>
Content-Type: text/plain; format=flowed
In V9 :
NewVar = CatX( ' / ' , Var1 , Var2 , Var3 ) ;
In V8 :
NewVar = Trim(Var1) || ' / ' || Trim(Var2) || '/' || Trim(Var3) ;
Toby Dunn
From: rcy197@YAHOO.COM
Reply-To: rcy197@YAHOO.COM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Concatenating character values?
Date: Tue, 25 Jul 2006 14:51:58 -0700
Hello,
I was wondering if someone knew how to concatenate character values?
I have data that looks like this with mulitple columns:
a b c
4hrs 5 hrs 6 hrs
and I want it to be combined into one column with a delimiter of some
sort:
a
4hrs / 5hrs / 6 hrs
Thank You
|