📜  复制函数delphi代码示例

📅  最后修改于: 2022-03-11 14:54:56.487000             🧑  作者: Mango

代码示例3
//This function will copy or selct part of a string and assign it to another variable

//syntax
    //  := copy(, , );
    
//Example

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