In Delphi XE3, the Copy function can be used for string type with or without the third parameter. For example,
s := '1234567890';
Writeln(Copy(s, 2));
The above prints 234567890 if compiled for 32-bit EXE. However when the same code compiles to 64-bit EXE, it will print nothing.
Why is this? I have to actually change all such code to e.g. Copy(s, 2, Length(s) - 1) when porting 32-bit app to 64-bit.