Difference between revisions of "Left"

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

Revision as of 14:03, 1 July 2011

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