function Copy(Str: String; StartPos, Count: Longint):String;Remarks: If StartPos is greater than the length of Str than an empty string is returned.
S := Copy('Hello World' , 7, 5); // 'World' S := Copy('Use Protected Mode!', 45, 10); // ''
Continue procedure | Table of Content | Cos function |