Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
LEFT$ Function QuickSCREEN
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
LEFT$ - a string processing function that returns a string consisting
of the leftmost n characters of a string
Syntax
LEFT$(stringexpression,n)
■ stringexpression is a string constant, string variable, or string
expression
■ n, a numeric expression, must have a value between 0 and 32,767.
If n is zero, the null string (a zero-length string) is returned.
See Also ◄MID$ Function► - to see how to extract n characters from the
middle of a screen
◄RIGHT$► - to see how to extract the n right-most characters