toUpperCase Method

Top  Previous  Next

Converts a string to uppercase letters.

Syntax

String.toUpperCase(string)

Arguments

stringA string to be written with uppercase letters.

Return Value

The string written with uppercase letters.

Examples

var String="Hello developers, welcome to CellScript!";

var n=String.toUpperCase();

Net.write(n);                              // HELLO DEVELOPERS, WELCOME TO CELLSCRIPT!