Thank you all for your help.

The file I am opening is a CSV file with no more than 200 lines but each line can be a little lengthy but not too bad.

In the end the simplists is the best, 'is the word there or not'. Once the word is found I don't need to look for the word any more? Since this is a 'workstation name' there should not be any duplicates (hopefully).

I will test out the above scripts and see what I come up with. If anyone has any more comments or samples, that would be great also.

The above code (first one) runs without any errors so I just need to modify it a little to get the yes/no result (hopefully I will be able to do).

Anyway thank you all again for your help.