A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/String/toUpperCase below:

toUpperCase ยท WebPlatform Docs

toUpperCase Summary

Converts all the alphabetic characters in a string to uppercase.

Syntax
strVariable.toUpperCase()

"String Literal".toUpperCase()
Examples

The following example demonstrates the effects of the toUpperCase method:

var str1 = "This is a STRING.";
 var str2 = str1.toUpperCase();
 document.write(str2);

 
Remarks

The toUpperCase method has no effect on non-alphabetic characters.

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4