' *** INSTR.GFA *** ' ' *** INSTR(a$,a$,i) always returns 1 for i>1 ' *** GFA 3.07 & 3.5E ' CLS ' a$="12345" b$="12345" PRINT PRINT " The strings a$ and b$ are identical:" PRINT " a$ = ""12345""" PRINT " b$ = ""12345""" PRINT PRINT " Let's use INSTR with these strings:" PRINT " INSTR(a$,b$,1) = ";INSTR(a$,b$,1);" ! OK for start-position 1" PRINT " INSTR(a$,b$,2) = ";INSTR(a$,b$,2);" ! bug, should be 0" PRINT PRINT " This means you can't use INSTR if the two strings are identical. Unless you" PRINT " restrict yourself to start-position 1." ' ~INP(2) CLS