Inno Setup Preprocessor: RPos

Prototype

int RPos(str SubStr, str S)

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.