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 1999, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 23 Nov 1999 00:57:54 GMT
Reply-To:     diltilia@MY-DEJA.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         diltilia@MY-DEJA.COM
Organization: Deja.com - Before you buy.
Subject:      Re: need help

Ruben,

Try this:

data new; set old; if index(name,'X') then delete; run;

(This should delete all the records where "X" appear in variable "name")

-Diltilia

In article <38399B50.E74EAD8C@coruscant.cet.nau.edu>, "Ruben J. Kovalcik" <rjk2@coruscant.cet.nau.edu> wrote: > I need some help for a report that's due tomorrow>and would be very > grateful for some help. > i'm trying to delete some records that are in my data set by searching > for a certain character in a character field. example: '101X' will be > kept, but i don't know how to determine where an X occurs in the field. > how can i identify records that have the X in it? > thanks for any help.Ruben > >

Sent via Deja.com http://www.deja.com/ Before you buy.


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