NAME=FindLast
AUTHOR=
ITEM=function FindLast(string$, what$)
DESCRIPTION=Function returns the position of the last occurrence of substring what$ in string$ or 0, if substring was not found.
OUTSIDE CODE=

function FindLast(string$, what$)
    do
        FindLast = z
        z = z+1
        z = instr(string$, what$, z)
    loop while z
end function