upper

From RPTools Wiki
Revision as of 05:39, 9 March 2009 by Verisimilar (talk | contribs) (Applied Template:MacroFunction)
Jump to navigation Jump to search

upper() Function

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

[h: str = upper(str)]
[h: str = uper(str, numChars)]

Examples

[r: upper("this Is a Test")]
[r: lower("this Is a Test", 1)]

Returns

  THIS IS A TEST
This Is a Test