
>>-LASTPOS--(--needle--,--haystack--+----------+--)------------><
'-,--start-'
returns the position
of the last occurrence of one string,
needle, in another,
haystack. (See also the POS function.) Returns
0 if
needle is
the null string or is not found. By default the search starts at the
last character of
haystack and scans backward. You can override
this by specifying
start, the point at which the backward
scan starts.
start must be a positive whole number and defaults
to
LENGTH(haystack) if larger than that value or omitted.