upper(
TEXT
)
The upper( function converts text to UPPER CASE (all caps).
Parameters
This function has one parameter:
text – The text to be converted.
Description
The upper( function converts text to all upper case (all caps).
upper("john smith") ☞ JOHN SMITH
upper("Mary Bishop") ☞ MARY BISHOP
upper("net 30") ☞ NET 30
upper("NEW York") ☞ NEW YORK
upper(30) ☞ 30
As the last line shows, if you pass a number to this function it will be converted to text (like the str( function).
See Also
- lower( -- converts text to lower case.
- mixedupperword( -- converts lower case words to Initial Caps, but leaves mixed case words alone.
- straightquotes( -- converts any "smart quotes" in the text into straight quotes.
- stripaccents( -- removes accents from any characters in the text.
- switchmatch( -- chooses from a list of values based on a wildcard match.
- switchmatchexact( -- chooses from a list of values based on a wildcard match.
- titlecase( -- capitalizes first character of each word, but not articles, prepositions, and conjunctions under 5 characters (unless they are the first or last word in the text).
- upperword( -- converts text to Initial Caps.
History
10.0 | No Change | Carried over from Panorama 6.0 |