Pos function

Inno Setup Preprocessor

Pos function

Prototype

int Pos(str 1, str 2)

Description

Pos searches for first parameter within second parameter and returns an integer value that is the index of the first character of first string within second. Pos is case-sensitive. If substring is not found, Pos returns zero.