Siebel eScript Language Reference > Methods Reference > String Methods >

Change String to Uppercase Method


The Change String to Uppercase method modifies every character that resides in the stringVar variable that is in lowercase to the uppercase equivalent. It returns a copy of this string that includes all uppercase characters.

Format

stringVar.toUpperCase()

Example

The following example accepts a file name as input and displays it in uppercase:

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

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.