in reply to How do I search for every occurrence of strings within an array and display them?

It is difficult for us to work out what you are trying to do, your description does not seem to gel with the code you show. For instance, you describe (I think) three keywords, viz. "call", "please" and "urgent" in a comma-separated string which you try to split yet your code is split'ing on whitespace, trying to work on an array rather than a scalar and you seem to be looking for a maximum of nine fields. Puzzling.

Some points to consider:-

I hope these points are useful and help you towards a solution. If Ihave misunderstood what you are trying to achieve please ask further and perhaps give a brief example of your data.

Cheers,

JohnGG