$tolower

$tolower

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$tolower

Converts alphabetic characters to lower case.

Syntax

$tolower(source)

Parameters

sourceany value, or an expression that yields any value

Return Value

Character string.

Comments

Returns a character string in which all letters are lower case. If source is not of a character data type, it is converted to a character data type before the function is applied.

Example

$tolower("the QUICK BROWN fox is 30 years oLD")

Evaluates to “the quick brown fox is 30 years old”.

output "Do you want output to go to the printer? (y/n)"
input <1>
if $tolower("#<1>") = "y"   % makes user response case insensitive
set output printer
endif

Ensures that the user response is case-insensitive.

See Also

$toupper

About Character Literals

About Functional Expressions

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish