Script to search for a word in a file
I need to open a specified file and search for a particular word in the file , I have tried using the inputfunction but the problem is , the input function takes the number of characters to be retrieved as the parameter and since i would not be knowing the len of each word in the file , How do i get rational robot to open the file and return each word till eof
Please reply immediately as the need is ******
Re: Script to search for a word in a file
Wonder whether the InStr function will do for you. The Line Input function reads a line at a time, so you do not have to specify the word length.
[ 04-08-2004, 09:09 PM: Message edited by: sachinus ]