Substring check within VBA
One way:
Dim bSubString As Boolean
bSubString = InStr(Str2, Str1) 0
In article ,
"Gary's Student" wrote:
If Str1 and Str2 are strings, is there a function or simple coding within VBA
to return TRUE if Str1 is a substring of Str2, otherwise FALSE?
Thanks in advance
|