8 lines
245 B
QBasic
8 lines
245 B
QBasic
|
print instr("123456789","456");" = 4?"
|
||
|
print INSTR("123456789","654");" = 0?"
|
||
|
print INSTR("1234512345","34");" = 3?"
|
||
|
print INSTR("1234512345","34",6);" = 8?"
|
||
|
print INSTR("1234512345","34",6,2);" = 0?"
|
||
|
print INSTR("1234512345","34",6,4);" = 8?"
|
||
|
|