Copy

From SCAR Divi Manual
Revision as of 20:00, 1 July 2011 by Freddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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