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 (August 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 12 Aug 2004 13:35:18 -0500
Reply-To:     Gary Ross <gary_ross@MGIC.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gary Ross <gary_ross@MGIC.COM>
Organization: http://extra.newsguy.com
Subject:      Re: Finding a substring in a char() field
Content-Type: text/plain; charset=us-ascii

BobbyG wrote: > > If I'm looking for a substr() within a character field in, say, a > FoxPro table, I can simply query, e,g, "for 'FEE ADJ'$merchant", and > it'll turn up any records where the string 'FEE ADJ' is anywhere in > the field, irrespective of beginning position. > > Does SAS have a similar capability? > > Best - > > Bobby Gladd > FNBM Risk Management > bobbyg@bgladd.com

Try the index and/or indexc SAS functions.


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