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 (September 2003)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Sep 2003 14:50:49 +0200
Reply-To:     kende jan <kendejan@yahoo.fr>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         kende jan <kendejan@yahoo.fr>
Subject:      Syntax help
Content-Type: text/plain; charset=iso-8859-1

Dear all,

I have a tring variable v1 (a20). I want to compute a new variable v1new with a condition: if v1 contains the string "azoo" then the new variable v1new=1 else v1new=0.

Example id v1 v1new 1 eat azoo blabla 1 2 do not eat blabla 0 3 constipation 0 . . .

Thanks by advance

Jan

--------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail


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