Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Delphi trik 1: System.Copy, string a 3. parametr (https://www.delphipraxis.net/202747-delphi-trik-1-system-copy-string-3-parametr.html)

DP News-Robot 4. Dez 2019 18:00

Delphi trik 1: System.Copy, string a 3. parametr
 
Rozhodl jsem se, že zkusím nejakou sérii malých clánku o drobnostech. První bude spíše cástecne nedokumentované chování.

System.Copy

function Copy(S: ; Index: Integer; Count: Integer): string;z helpu:

"When S is a dynamic array, you can omit the Index and Count parameters and Copy copies the entire array."takže

var s: string; s2: string;begin s := 'Hello cool'; s2 := Copy

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz