upper: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:upper moved to upper) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=upper | |name=upper | ||
|version=1.3b48 | |||
|description= | |description= | ||
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. | 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. | ||
Line 6: | Line 7: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
upper(str) | |||
</source> | |||
<source lang="mtmacro" line> | |||
upper(str, numChars) | |||
</source> | </source> | ||
Revision as of 11:35, 10 March 2009
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: lower("this Is a Test", 1)]
Returns
THIS IS A TESTThis Is a Test