Left

From SCAR Divi Manual
Revision as of 11:43, 18 September 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Left(const Str: AnsiString; const Len: Integer): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

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

Example

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

Output:

Hello

See Also