upper: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page upper to Upper without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page Upper to upper: Converting page titles to lowercase)
(No difference)

Revision as of 23:00, 9 February 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 TEST
This Is a Test