Copy

From SCAR Divi Manual
Jump to: navigation, search

Definition

function Left(s: AnyString; iFrom, iCount: Integer): AnyString;

Availability

SCAR Divi 3.00 > Current

Description

Returns a part of the given string s starting at the position given by iFrom with a length specified by iCount.

Example

begin
  WriteLn(Copy('Hello World!', 7, 5));
end.

Output:

World

See Also