Inno Setup Preprocessor: RPos


int RPos(str 1, str 2)


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.