[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
First


Purpose   Extracts the first part of a string.

Decln.    First(N:byte;Str:string):string;

Returns   String

Remarks   N is the number of leftmost characters to extract.
          Str is the source string.

Example

VAR
  F : STRING;
BEGIN
    F := FIRST(25,'ALL GOOD THINGS WILL COME TO PASS');
END;

The string F is assigned the value "All good things will come".

See Also: Last
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson