Click here to Skip to main content
15,888,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have the code working for a single phrase but I'd like the SelectPDF to highlight muitiple terms being searched.

So 'dog cat mouse' this phrase can be found

But I'd like dog to be found without cat next to it.
So I might present the values to SelectPDF like this:
IE....dog;cat;mouse

if it find any of those words highlight it when PDF is presented.

thx

What I have tried:

only the single phrase because I didn't find samples the search for multiple separate words
Posted
Updated 28-Aug-20 4:39am

1 solution

The problem is just the same. Split the phrase into three and search for each word in turn. Once you have the results you can present them in whichever order you require.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900