kytschBASIC

Put down that phone!
Please view me on real computer.

INSTR
HAYSTACK, NEEDLE

This function will find part of a string and return the position.

Example

PRINT INSTR("kytschBASIC", "BAS")

LINE BREAK



DEF string$=INSTR("kytschBASIC", "BAS")

PRINT string$

Output

6
6

See also