-
Declaration:
- Function Copy (Const S : String;Index : Integer;Count : Integer) : String;
-
Description:
- Copy returns a string which is a copy if the Count characters in S, starting at position
Index. If Count is larger than the length of the string S, the result is truncated. If Index is
larger than the length of the string S, then an empty string is returned.
-
Errors:
- None.
-
See also:
- Delete (481), Insert (521), Pos (546)
Listing: refex/ex11.pp