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 (December 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Dec 1997 18:23:47 -0500
Reply-To:     "Childs, Randy" <RCHILD@ABTI.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Childs, Randy" <RCHILD@ABTI.COM>
Subject:      Re: function or expression
Comments: To: jwang@PICARD.TAMU.EDU
Content-type: text/plain; charset=US-ASCII

If you are using this function in a WHERE clause, you can use the CONTAINS function. However, it cannot be used in an IF-THEN-ELSE type of statement. You can also use a question mark (?) in place of the word CONTAINS.

WHERE CHAR_VAR CONTAINS 'text string';

-or, equivalently-

WHERE CHAR_VAR ? 'text string';

Randy Childs Alpha-Beta Technology rchild@abti.com


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