CodeItBetter Programming Another VB Programming Blog

How to check a given string contained within a given file?

Posted on January 4, 2009
1
2
3
4
'Text File Handling - How to check a given string contained within a given file?
Private Function isStringInFile(ByVal strString As String, ByVal strFile As String) As Boolean
    isStringInFile = InStr(returnContents(strFile), strString) <> 0
End Function
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.