Skip to main content Accessibility Feedback

Strings

String.toLowerCase()

Transform all text in a string to lowercase.

var text = 'This sentence has some MIXED CASE LeTTeRs in it.';

// returns "this sentence has some mixed case letters in it."
var lower = text.toLowerCase();

Works back to at least IE6.