upper: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
mNo edit summary
Line 16: Line 16:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[r: upper("this Is a Test")]
[r: upper("this Is a Test")]
[r: lower("this Is a Test", 1)]
[r: upper("this Is a Test", 1)]
</source>
</source>
Returns  
Returns  

Revision as of 07:54, 25 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: upper("this Is a Test", 1)]

Returns

  THIS IS A TEST
This Is a Test