LEFT()

Extract the leftmost substring of a character expression

Syntax

LEFT(<cString>,<nPos>) --> <cReturn>

Arguments

<cString> Main character to be parsed

<nPos> Number of bytes to return beggining at the leftmost position

Returns

<cReturn> Substring of evaluation

Description

This functions returns the leftmost characters of . It is equivalent to the following programing expression: SUBSTR(,1,

Examples

? QOUT(LEFT('HELLO HARBOUR',5))

Status

Ready

Compliance

This functions is CA CLIPPER compatible

Platforms

All

Files

Library is rtl

See Also