| title | ms.custom | ms.date | ms.prod | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
toLowerCase Method (JavaScript) | Microsoft Docs |
01/18/2017 |
windows-client-threshold |
|
language-reference |
|
|
|
dfd543b9-3e7a-4f83-a391-9cde109ad6bc |
14 |
mikejo5000 |
mikejo |
ghogen |
Converts all the alphabetic characters in a string to lowercase.
strVariable.toLowerCase()
"String Literal".toLowerCase()
The toLowerCase method has no effect on non-alphabetic characters.
The following example demonstrates the effects of the toLowerCase method:
var str1 = "This is a STRING.";
var str2 = str1. toLowerCase();
document.write(str2);
// Output: this is a string. [!INCLUDEjsv1]
Applies To: String Object
toLocaleLowerCase Method (String)
toUpperCase Method (String)