LastPosEx
From SCAR Divi Manual
Definition
function LastPos(const SubStr, S: AnsiString): Integer;
Availability
SCAR Divi 3.10 > Current
Description
Returns the position of the last occurrence of a string SubStr in another string S starting from the position given by Offset.
Example
begin WriteLn(LastPosEx('a', 'alol abc', 5)); end.
Output:
1