INSTR( [start-position,] string-searched$, string-pattern$ )
Returns the position at which string-pattern$ occurs in string-searched$, beginning at start-position.
big$ = “This is a test”
PRINT INSTR(big$, “is”)
3
PRINT INSTR(4, big$, “is”)
6
See also:
FORMAT$
LCASE
LEFT$
LEN
MID$
RIGHT$
SPACE$
SPC
STRING$
UCASE$
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply