Date: Wed, 28 May 2008 12:11:21 -0500
Reply-To: "data _null_," <datanull@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "data _null_," <datanull@GMAIL.COM>
Subject: Re: concatenation syntax // or ||
In-Reply-To: <d0d1134a-6123-486f-8ab2-80b73a1d1f84@d1g2000hsg.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
In "regular" SAS I know of no operator // perhaps in IML.
You can use ?/ to represent | when system CHARCODE is "on". See example.
I don't know if this helps. If not be more specific with usage and expectation.
85 options charcode=1;
86 proc options option=charcode;
87 run;
CHARCODE Uses character combinations as substitute for
special characters not on the keyboard
88 data test;
89 a = 'Hello';
90 b = 'you';
91 c = a||' '||b;
92 d = a!!' '!!b;
93 e = a?/?/' '?/?/b;
94 run;
NOTE: The data set WORK.TEST has 1 observations and 5 variables.
On 5/28/08, dc353@hotmail.com <dc353@hotmail.com> wrote:
> Hi,
>
> could someone explain the difference between using // and ||.
>