Testing String Functions
========================

Test 1: LEFT$
  LEFT$('HELLO WORLD', 5) =HELLO
  PASS: LEFT$ works

Test 2: RIGHT$
  RIGHT$('HELLO WORLD', 5) =WORLD
  PASS: RIGHT$ works

Test 3: MID$
  MID$('HELLO WORLD', 7, 5) =WORLD
  PASS: MID$ works

Test 4: LEN
  LEN('HELLO WORLD') =11
  PASS: LEN works

Test 5: ASC and CHR$
  ASC('A') =65
  CHR$(65) =A
  PASS: ASC and CHR$ work

Test 6: STR$ and VAL
  STR$(123) = 123.0
  VAL('123') = 123 
  PASS: STR$ and VAL work

Test 7: String concatenation (+)
  'HELLO' + ' ' + 'WORLD' =HELLO WORLD
  PASS: String concatenation works

Test 8: INSTR
  INSTR('ABCDEFGH', 'DEF') =4
  PASS: INSTR works

Test 9: SPACE$
  'A' + SPACE$(5) + 'B' =A     B
  PASS: SPACE$ works

Test 10: STRING$
  STRING$(5, 42) =*****(5 asterisks)
  PASS: STRING$ works

All string function tests complete!

