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 (December 2002)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sun, 29 Dec 2002 19:18:12 +1000
Reply-To:     Bob Green <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Bob Green <>
Subject:      editing string variable
Content-Type: text/plain; charset="us-ascii"; format=flowed

I have a several variables, e.g reason11, reason12, reason 13, reason 21, reason22 etc that consist of text. Within each variable, at different points within the text are codes: [ec] [es] [ei] [ee] [ua] etc. There is a single code per variable item.

Below are two examples:

[sb] homebound, nothing on the telly wanted to smoke [uw] so don't kill [sd] the kids

I am hoping I can use SPSS to extract the codes, deleting the remaining text. Any suggestions are appreciated.

Bob Green

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