Inno Setup Preprocessor: Pos


int Pos(str 1, str 2)


Pos 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.