RPos function

Inno Setup Preprocessor

RPos function

Prototype

int RPos(str 1, str 2)

Description

RPos searches for first parameter within second parameter and returns an integer value that is the index of the first character of last occurence of the first string within second. RPos is case-sensitive. If substring is not found, RPos returns zero.