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
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
And I want to split in 3 variables in order to calcule the multiple
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').
I really don't know what I am doing wrong. Any help.
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
For a list of commands to manage subscriptions, send the command