LEFT$ Function ---------------------------------------------------------------------------- Action Returns a string consisting of the leftmost n characters of a string. Syntax LEFT$( stringexpression$, n%) Remarks The argument stringexpression$ can be any string variable, string constant, or string expression. The argument n% is a numeric expression in the range 0-32,767 indicating how many characters are to be returned. If n% is 0, the null string (length zero) is returned. If n% is greater than or equal to the number of characters in stringexpression$, the entire string is returned. To find the number of characters in stringexpression$, use LEN( stringexpression$) . See Also MID$ Function, RIGHT$ Function Example The following example prints the leftmost five characters of A$. CLS ' Clear screen. A$="BASIC LANGUAGE" B$=LEFT$(A$, 5) PRINT B$ Output BASIC