Instr$ Question

Blitz3D Forums/Blitz3D Beginners Area/Instr$ Question

Instr returns the position at which the substring occurs, and True evaluates to 1 when used in this way. Try RuntimeError Instr( "AAAABBBBBBBBFFFFFFDDDDDDABCAABB", "ABC" ) and RuntimeError True to confirm this.