upper: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version.) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
upper(str) | upper(str) | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
upper(str, numChars) | upper(str, numChars) | ||
</ | </syntaxhighlight> | ||
|examples= | |examples= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
[r: upper("this Is a Test")] | [r: upper("this Is a Test")] | ||
[r: | [r: upper("this Is a Test", 1)] | ||
</ | </syntaxhighlight> | ||
Returns | Returns | ||
THIS IS A TEST | THIS IS A TEST |
Latest revision as of 16:53, 14 March 2023
upper() Function
• Introduced in version 1.3b48
Returns the upper case version of a string. If the number of characters is not specified then the whole string is converted to upper case.
Usage
upper(str)
upper(str, numChars)
Examples
[r: upper("this Is a Test")]
[r: upper("this Is a Test", 1)]
Returns
THIS IS A TESTThis Is a Test