Choose where you’d like to start

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

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

(OR)

<variable> = toUpperCase( <string> );

(OR)

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

(OR)

<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

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

Get Started Now

Execute