=========================================================================
Date: Tue, 25 Jul 2006 17:30:14 +0200
Reply-To: Spousta Jan <JSpousta@CSAS.CZ>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Spousta Jan <JSpousta@CSAS.CZ>
Subject: Re: CONCAT
Content-Type: text/plain; charset="US-ASCII"
Hi Jonathan,
Is the variable Descr long enough? Did you tried to use rtrim?
COMPUTE Descr = CONCAT ("SW ",rtrim(crsno),"-",rtrim(sec)) .
Greetings
Jan
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of
Jonathan Havey
Sent: Tuesday, July 25, 2006 5:27 PM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: CONCAT
I'm having trouble getting CONCAT to work with more than two items.
COMPUTE Descr = CONCAT ("SW ",crsno,"-",sec) . This successfully
concatenates "SW " and the variable crsno, but stops there. The same
problem occurs with using just variables.
Jonathan Havey
|