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 (November 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 1 Nov 2005 16:00:34 +0100
Reply-To:     "adel F." <adel_tangi@YAHOO.FR>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "adel F." <adel_tangi@YAHOO.FR>
Subject:      Re: Change the record of variable with '
Comments: To: Arthur Tabachneck <art297@NETSCAPE.NET>
In-Reply-To:  <200511011429.jA1BjKuf004125@malibu.cc.uga.edu>
Content-Type: text/plain; charset=iso-8859-1

Thanks Arthur ; I have tried this but without success the same record remains

data test;

set test;

if index(location,"St Trope's") then location= 'Beach1';

else location=location;

run;

Arthur Tabachneck <art297@NETSCAPE.NET> a écrit :

Adel,

Have you tried using the double quote character? For example,

data two; set one; if index(location,"St Trope's"); run;

Art --- On Tue, 1 Nov 2005 13:48:16 +0100, adel F. wrote:

>Hi, >I have a variable X with a record St Trope's , and want to transorm the record to beach1 in the same X, but I have a problem with ' of St Trope's . >Any help, thanks >Adel > > >--------------------------------- > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > Téléchargez le ici !

--------------------------------- Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez le ici !


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