;tmp$ = ReadLine(file) tmp$ = "testing line" If(Instr(tmp$,"New list")) = 0 Then Print "New List not in string" Else Print "New list found in string" EndIf
add 'New list' to the string tmp$ and see its located, the same is if ReadLine(file) is used. one extra note Instr() returns the position its found within the string.
kev