StrExpr may be any string expression. NumExpr may be any numeric expression. If the value of NumExpr is greater than the number of characters in StrExpr, all of StrExpr will be returned.
a$ = "CLEVELAND, OHIO" b$ = left$(a$, 9) print b$produces
CLEVELANDIn this example, the left$ function is used to extract the first nine characters from the string "CLEVELAND, OHIO".
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber