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 (July 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 21 Jul 2004 11:29:37 -0400
Reply-To:   harry.droogendyk@RBC.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Harry Droogendyk <harry.droogendyk@RBC.COM>
Subject:   Re: how to scan?
Content-Type:   text/plain; charset=iso-8859-1

Two ways:

where tel contains '5555';

or

where tel like '%5555%';

-----Original Message----- From: Adriano Rodrigues - Instituto GPP [mailto:adriano@GPP.COM.BR] Sent: Wednesday, July 21, 2004 11:41 AM To: SAS-L@LISTSERV.UGA.EDU Subject: how to scan?

Hi all,

I have one var TEL. TEL Char 13

and i want to localize all variables with the number 5555. (like 2225550000033, 5555xxxxxxxx, xx5555xxxxxx etc). how to scan the field and get all?

i want something like:

/* proc print; var tel; where tel= HAVE 5555 run; */

thx in advance, Adriano

------------------------------------------------------------ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

============================================================


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