Find a substring in a string and return its starting position. The function is case sensitive.
Syntax: byte = Instr( [startPos, ]1) Source as string, Find as string )
Example:
dim s as string dim pos as byte s = "Hello World" pos = Instr(s,"lo") ' output: 4 pos = Instr(s,"world") ' output: 0 (not found)