Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

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 <nPos> characters of <cString>.
      It is equivalent to the following programing expression:
      SUBSTR(<cString>,1,<nPos>

 Examples

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

Status

      Ready

 Compliance

      This functions is CA CLIPPER compatible

 Platforms

      All

 Files

      Library is rtl



See Also: SUBSTR() RIGHT() AT() RAT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson