Left

From SCAR Divi Manual
Revision as of 15:03, 1 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Left(Text: AnsiString; Count: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Left(Text: AnsiString; Count: Integer): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Returns a part of the given string Text starting at the left side of the string with a length specified by Count.

Example

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

Output:

Hello

See Also