Inno Setup Preprocessor: Pos

Inno Setup Preprocessor

Inno Setup Preprocessor: Pos

Prototype

int Pos(str 1, str 2)

Description

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.