| Date: | Tue, 4 Jun 2002 14:48:55 -0700 |
| Reply-To: | yiya Chen <yiyachen@YAHOO.COM> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | yiya Chen <yiyachen@YAHOO.COM> |
| Subject: | coding (quick help? Thanks!!) |
| Content-Type: | text/plain; charset=us-ascii |
|---|
Dear all,
Can anyone kindly help me with the following problem:
I have been trying to use syntax to encode my data. In the usual case, I know how to do it. For example,
IF (SUBSTR(v1,7,1) = "1") REPETITION=rep1. (if the seventh character in the name string contaiins the number 1, encode it under the variable repetition as 1.
Now, my problem is: there are certain cases the specific encoding has to be dependent on two characters rather than 1. For example, I have these two file names which only differ in the 4th character:
Wfd1f62
Wfd2f62
But I need to encode the d as two different categories under the same variable. Hypothetically speaking, when it is "d1", it is da and when it is "d2", it is di under the same variable "word".
Can anyone kindly advise me what I should do? Very big thanks!!
Best,
Yiya Chen
---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
|