I need help with altering the code that I have written. The attached WordCount function returns how many times string1 appears in string2.
This function works great but it needs to be enhanced. The WordCount function needs to be enhanced so that it takes a third parameter which is set to True is the search is case-sensitive and False if it isn't. The argument should be optional, defaulting to True, so that the existing call to the function does not need to be modified. So, I changed the parameters to:
Function wordCount(ByVal First As String, ByVal Second As String, _
Optional ByVal Value As Boolean = True) As String
But I'm not sure how to make it case-insensitive . Please help ........
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
visual [url removed, login to view] on windows xp