STRING OPERATIONS TEST PROGRAM
===============================
Test string: HELLO WORLD
LEN function test:
Length of 'HELLO WORLD' is 11
LEFT$ function test:
LEFT$(A$,5) = HELLO
RIGHT$ function test:
RIGHT$(A$,5) = WORLD
MID$ function test:
MID$(A$,7,5) = WORLD
String concatenation test:
BASIC concatenated with PROGRAMMING = BASIC PROGRAMMING
ASC and CHR$ functions test:
ASC('A') = 65
CHR$(65) = A
String comparison test:
Comparing 'HELLO' and 'HELLO': Strings are equal
Comparing 'HELLO' and 'WORLD': Strings are not equal
INSTR function test:
INSTR(G$,'BASIC') = 16
String conversion test:
STR$( 123) = 123
VAL('456') = 456
String case conversion test:
Original: Mixed Case String
UCASE$(J$) = MIXED CASE STRING
LCASE$(J$) = mixed case string
End of string operations test program