◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── 'This example uses the LEFT$ function to print the leftmost five characters 'of a string. CLS 'Clear screen. A$="BASIC LANGUAGE" B$=LEFT$(A$, 5) PRINT B$ 'Sample Output ' 'BASIC