toUpperCase() | Zoho QEngine Help

toUpperCase()

Overview

The toUpperCase() function takes a string as an argument. It returns the string with all letters in upper case.

Return Type

  • Text

Syntax

  1. <variable> = <string>.toUpperCase();

(OR)

  1. <variable> = toUpperCase( <string> );

(OR)

  1. <variable> = <string>.upper();

(OR)

  1. <variable> = upper( <string> );

ParameterDescriptionData type
<variable>Variable which will contain the returned string.TEXT
<string>All letters in this string will be converted to upper case.TEXT

Examples


  1. mainString = "Create online database applications";
  2. newText = upper(mainString);      // returns "CREATE ONLINE DATABASE APPLICATIONS"