Problems reading a txt file..

Blitz3D Forums/Blitz3D Beginners Area/Problems reading a txt file..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i tried the following:

If Not Instr(strng$,"New test")=0
dot$=Instr(strng$,".")
name$=Instr(strng$,Left(strng,dot))
WB3D_AddGadgetItem(catagory,name$,0,0)
End If


but Instr() returns found or not found, how do i get a string out of it? in the above example, it looks like it finds the right thing alright i just need to figure out how to grab it.