Left

From SCAR Divi Manual
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