Is there a way to find out how many times a string is present when using StringInStr ? For example the following searches a txt file for the word yes $file = FileRead($sltd, FileGetSize($sltd)) $find = StringInStr( $file, "Yes") If $find = 0 Then MsgBox(0, "Word finder", "The word yes was not found in the selected text") Else MsgBox(0, "Word finder", "The word was yes found in the selected text") EndIf This will tell the user if the word yes exists in the te