String case: Difference between revisions

Line 2,113:
* String does not have to be defined with a specific length using DIM.
* Addding the string identifier ($) to the variable is sufficient.
* PRINT does not need empty quotes to print a blank line.
* Semi-colons use less data than the concatenation (+) method.
<lang vb>s$ = "alphaBETA"
PRINT "The original string: "; s$ : PRINT
PRINT "Converted to lowercase: "; LCASE$(s$)
PRINT "Converted to uppercase: "; UCASE$(s$)</lang>
306

edits