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 (January 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Jan 2008 16:47:16 -0500
Reply-To:     Ribeiro <marcioestat@POP.COM.BR>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Ribeiro <marcioestat@POP.COM.BR>
Subject:      Break String Variable

Hi all,

I've searched at the files a clue that break a string variable at others but I didn't find. I have a variable as X 1,2 1 2,3 1,3 And I want to split in 3 variables in order to calcule the multiple response. As I have a string variable I tried the INDEX command, but it didn't come with the right results. compute X_1 = index(X,'1'). compute X_2 = index(X,'2'). compute X_3 = index(X,'3'). exe. I really don't know what I am doing wrong. Any help. Thanks, Ribeiro

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

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