Difference between revisions of "Copy"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Left(s: AnyString; iFrom, iCount: Integer): AnyString; </source> ==Availability== SCAR Divi 3.00 > Current ==Descript...")
 
(No difference)

Latest revision as of 20:00, 1 July 2011

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