Syntax InStr([Index, ]S1, S2)
Group String
Description Return the index where S2 first matches S1. If no match is found return 0.
Parameter Description
Index Start searching for S2 at this index in S1. If this is omitted then start searching from the beginning of S1.
S1 Search for S2 in this string value.
S2 Search S1 for this string value.
See Also InStrRev( ), Left( ), Len( ), Mid( ), Replace( ), Right( ).
Example '#Language
"WWB.NET"
SubMain
Debug.Print
InStr("Hello","l") ' 3
EndSub