posted 9 years ago
Hi,
I have a recursive search that uses the ".contains" function to find file names based on the search words entered. The only problem is that if the file name contains only one of the words it doesn't show up.
For example:
Keywords entered = "black cat"
If the title contains "black cat" in that specific order it returns the file name. However if the title only contains "cat" it doesn't return anything.
I need some way to break the search keywords up so that it finds all the files that contain any of the keywords.
Here is the section of code that handles the search:
Below is the full code for that activity:
Thank you in advance for any help you can offer