Funcția de copiere în delphi

Exemple de cod

2
0

copia delphi

{Your Cod Here}
{Target} := copy({Source}, {Start}, {Distance});
1
0

funcția de copiere delphi

//This function will copy or selct part of a string and assign it to another variable

//syntax
	// <variable name> := copy(<string>, <start index>, <number of characters>);
    
//Example

var
	Phrase : String;
    
phrase := copy('Hello world', 1, 5) 
// Output will be phrase := "Hello"

În alte limbi

Această pagină este în alte limbi

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................