Date: Wed, 20 Aug 2008 09:20:40 -0700
Reply-To: "email@example.com" <bartelby1@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "firstname.lastname@example.org" <bartelby1@GOOGLEMAIL.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.