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 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 21 Sep 2006 03:56:06 -0700
Reply-To:     RolandRB <rolandberry@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         RolandRB <rolandberry@HOTMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: use scan function?
Comments: To: sas-l@uga.edu
In-Reply-To:  <1158835931.599688.105140@h48g2000cwc.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"

Arjen wrote: > Thanks RolanRB. > > I now have this code: > > %LET Item="Ascites"; > data &Item.; > set Dictionary; > where (question||answer) contains "&Item"; > keep Question Answer rowID; > run; > > My last question is: will this also give me the strings where "ascites" > is written, i.e. is this code case-sensitive? > > Thanks! > > Arjen

I think it is case sensitive. You could use index() with capitalization like this:

if index(upcase(question),%upcase(&Item)) or index(upcase(answer),%upcase(&Item));


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