BeginComment:
This program illustrates some of the string functions in Utils

Copyright © 2020 Richard Lesh.  All rights reserved.
EndComment

Pragma: UseUtils

BeginProgram: Strings4

ScalarDecl: const <string> ltrstr = "   Spaces to the left"
ScalarDecl: const <string> rtrstr = "Spaces to the right  "
ScalarDecl: const <string> trimstr = "   Spaces at each end   "
ScalarDecl: const <string> blank = "  \t\n  "
ScalarDecl: const <string> lowerstr = "This String is Lowercase"
ScalarDecl: const <string> upperstr = "This String is Uppercase"

BeginMain:
	PrintLine: '|', ltrim(ltrstr), '|'
	PrintLine: '|', rtrim(rtrstr), '|'
	PrintLine: '|', trim(trimstr), '|'
	PrintLine: '|', trim(blank), '|'
	PrintLine: '|', tolower(lowerstr), '|'
	PrintLine: '|', toupper(upperstr), '|'
EndMain
EndProgram

#STOI
#STOL
#STOD