Template Engine language reference > Template Engine utilities > String functions > $string.toUpperCase

$string.toUpperCase
This function returns a new string with all characters in the input string converted to upper case.
Syntax
$string.toUpperCase(<inStr>)
inStr
Template examples
Example 105
Template
#set($str='Hello My Cruel World!')
#set($str2=$string.toUpperCase($str))
Original string: $str
New string: $str2
Output
Original string: Hello My Cruel World!
New string: HELLO MY CRUEL WORLD!
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26