Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

toUpperCase

Summary

Returns value of a string converted to uppercase while keeping the original string intact.

Syntax

"string".toUpperCase

Parameters

None

Example

var userInput="MixEDString";
document.write(userInput.toUpperCase());