When writing Pascal scripting code for InnoSetup, how do I extract a substring?
InnoSetup's Copy
function can do this.
function Copy(S: String; Index, Count: Integer): String;
Pascal strings are indexed starting at 1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With