How to convert string to lower case

Description

The following code shows how to convert string to lower case.

Example


var stringValue = "Hello world"; 
console.log(stringValue.toLowerCase()); //"hello world" 

The code above generates the following result.





















Home »
  Javascript »
    Javascript Reference »




Array
Canvas Context
CSSStyleDeclaration
CSSStyleSheet
Date
Document
Event
Global
History
HTMLElement
Input Element
Location
Math
Number
String
Window