RIGHT()

Extract the rightmost substring of a character expression

Syntax

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

Arguments

<cString> Character expression to be parsed

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

Returns

<cReturn> Substring of evaluation

Description

This functions returns the rightmost <nPos> characters of <cString>.
Examples
      ? QOUT(RIGHT('HELLO HARBOUR',5))
Status

Ready

Compliance

This functions is CA CLIPPER compatible

Platforms

All

Files

Library is rtl

See Also