Date: Wed, 20 Aug 2008 09:20:40 -0700
Reply-To: "bartelby1@googlemail.com" <bartelby1@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "bartelby1@googlemail.com" <bartelby1@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject: scanning for keywords
Content-Type: text/plain; charset=ISO-8859-1
I have 2 datasets:
A - contains observations with large amounts of text.
B - Contains a list of keywords.
I need to scan each text observation in set A for all of the keywords
in set B.
EG check 1st obs in A for any of the keywords from B, then check 2nd
obs in A etc...
I can scan A for words I hard code using INDEX, but I can't get loops
working to scan for all the keywords.
Thanks for any help.
|