Copy function

Inno Setup Preprocessor

Copy function

Prototype

str Copy(str 1, int 2, int? 3)

Description

Function extracts a substring from the first string type parameter. The 1-based index of the character from which the substring should start is specified in second argument. The third argument specifies the number of characters to take, if it is omitted, all characters up to the end of the string are copied to the result.