NAME
INSTR Function
SYNOPSIS
INSTR([start%,]stringexpression1$,stringexpression2$)
o start% Sets the character position where the search
begins. If start% is omitted, INSTR starts at
position 1.
o stringexpression1$ The string to search.
o stringexpression2$ The string to look for.
DESCRIPTION
Returns the position of the first occurrence of a string in another string.
Example:
a$ = "Microsoft QBasic"
PRINT "String position ="; INSTR(1, a$, "QBasic")
SEE ALSO
LEFT$ RIGHT$ LEN MID$ MID$