LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2006)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Jonathan Havey <>
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)) .



-----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

Back to: Top of message | Previous page | Main SPSSX-L page