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