When writing Pascal script code for InnoSetup, how do I extract a substring?
The InnoSetup function Copy can do this.
Copy
function Copy(S: String; Index, Count: Integer): String;
Pascal strings are indexed starting at 1.