LEFT$

Format

string1=LEFT$(string2,number1)

Description

This statement will copy number1 characters from the left of string2 to string1.

Example

A$=LEFT$("RED RIDING HOOD",3)
After the execution of the above statement, the variable A$ will contain the string "RED".

See Also

  • MID$
  • RIGHT$