upper

From RPTools Wiki
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