
LEFT$ is a string functions, that extracts a number of characters from the left of a string and generates a new string. LEFT$ needs two arguments, the source string and how many character should be extracted.
Extracts "hello" from "hello world" and prints source and new string
outmode -2 a$ = "hello world" b$ = left$ (a$, 5) print a$ print b$ end