Search a String in File
I want to search a string in text file, once string found need to return true and if string not found in file need to return false.
Re: Search a String in File
1. Create an instance of "filesystemObject"
2. Open the required text file
3. Read the whole text into a string or line by line
4. use "instr" function to find whether the required string is available
Hope this helps you.