Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>left$ return substring at left</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LEFT$                    Return Substring at Left

 s$ = LEFT$(stringexpr,n)

    Returns the leftmost n characters of a string.

  stringexpr    A string expression.

           n    A numeric expression in the range 0 to 32767.

   -------------------------------------------------------------------------

      Notes:    If n is larger than LEN(stringepxr), LEFT$ returns the
                entire string.

                If n is 0, LEFT$ returns a null string.

See Also: MID$ RIGHT$

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