Delphi how copy works

In this article let’s discuss about Delphi how copy works. Let’s go through the following methods without any delay 🙂

Method 1:

var
  Source, Target : string;

begin
  Source := '12345678';
  Target := copy(Source, 3, 4);
  ShowMessage('Target : '+Target);
end;

Hope the above methods works for you. Happy Learning and get back to us Anytime.

Realted Posts : Delphi basics generating random number