Pascal Scripting: RPos

Prototype:

function RPos(SubStr, S: String): Integer;

Description:

Searches for SubStr within S and returns the last index of SubStr within S, 1-based. If SubStr is not found, RPos returns zero. The RPos function is case-sensitive.

See also:

Pos