Siebel eScript Language Reference > Siebel eScript Commands > String Objects >

toUpperCase() Method


This method returns a copy of a string with the letters changed to uppercase.

Syntax

stringVar.toUpperCase()

Parameter
Description

Not applicable

 

Returns

A copy of stringVar in uppercase characters.

Usage

This method returns a copy of stringVar, with lowercase letters replaced by their uppercase equivalents.

Example

The following fragment accepts a filename as input and displays it in uppercase:

   var filename = "c:\\temp\\trace.txt";;
   TheApplication().RaiseErrorText("The filename in uppercase is " +filename.toUpperCase());

See Also

toLowerCase() Method

Siebel eScript Language Reference