-
Notifications
You must be signed in to change notification settings - Fork 1
str_lower
Tristan Hume edited this page Apr 23, 2012
·
2 revisions
#Str.Lower
##Syntax Str.Lower (s : string) : string
##Description
The Str.Lower function takes the string s and returnsa string in which all the upper case letters are converted to lower case. For example, Str.Lower ("ABC123def")
returns"abc123def"
.
##Example This program obtains lines of text from the user and outputs thelines converted to lower case.
var line : string
loop
put "Enter a line of text (empty to quit): " ..
get line : *
exit when line = ""
put "The lower case version: ", Str.Lower (line)
end loop
##Status Exported qualified.
This means that you can only call the function by calling Str.Lower, not by calling Lower.
##See also str_upper.html and str_trim.html.