Inno Setup Preprocessor: RPos

Inno Setup Preprocessor

Inno Setup Preprocessor: RPos

Prototype

int RPos(str 1, str 2)

Description

RPos searches for a substring (first argument) in another string (second argument) and returns an integer value that is the 1-based index of the first character of the last occurrence of the substring within the second string. RPos is case-sensitive. If the substring is not found, RPos returns zero.