Return Values

Value of InStr ArgumentValue Returned by InStr

string1 is zero-length

0

string1 is Null

Null

string2 is zero-length

start

string2 is Null

Null

string2 is not found

0

string2 is found within string1

Position at which a match is found

start > Len (string2)

0