String.findlast() error
BlitzMax Forums/BlitzMax Programming/String.findlast() error
| ||
I assume FindLast() does a search in reverse order? The method fails with these strings, depending on the position parameter:stream:TStream=ReadFile("3DWorldStudio.log") While Not stream.eof() s$:+stream.readline() Wend stream.close() Print "Length="+s.length Print s.Find("Max",0) Print s.Find("Max",1200) Print s.FindLast("Max",1600) 3DWorldStudio.log: |
| ||
Oh I see, the index is reversed with FindLast(). |