lastPos >>-lastPos(needle-+---------------------------+-)--->< +-,--+-------+--+---------+-+ +-start-+ +-,length-+ Returns the position of the last occurrence of a string,
[needle]
,
in the receiving string. (See also .) It
returns String class - lastPos method "abc def ghi"~lastPos(" ") -> 8 "abcdefghi"~lastPos(" ") -> 0 "efgxyz"~lastPos("xy") -> 4 "abc def ghi"~lastPos(" ",7) -> 4 "abc def ghi"~lastPos(" ",7,3) -> 0 |