Reputation: 58382
When writing Pascal scripting code for InnoSetup, how do I extract a substring?
Upvotes: 9
Views: 6862
Reputation: 58382
InnoSetup's Copy
function can do this.
function Copy(S: String; Index, Count: Integer): String;
Pascal strings are indexed starting at 1.
Upvotes: 12