Inno Setup Preprocessor: Pos

Prototype

int Pos(str 1, str 2)

Description

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 substring within the second string. Pos is case-sensitive. If the substring is not found, Pos returns zero.