toLocaleLowerCase()  String  instance method getterS2C Home  « Globals « String « toLocaleLowerCase()

Description

Returns the value of a string converted to lower case dependant upon locale.

  • Generally works the same as the toLowerCase() method.
    For some locales, where case mappings do not match the Unicode default, results may vary.
  • The string to be converted is not modified.

Syntax

Signature Description
aString.toLocaleLowerCase()Returns the value of a string converted to lower case dependant upon locale.

Parameters

None.

Examples

The code below returns the value of a string converted to locale specific lower case.



// Create a String object.
someString = new String("Learn Javascript");

// Return string value converted to locale specific lower case.
alert(someString.toLocaleLowerCase()); 


Press the button below to action the above code:


Related Tutorials

JavaScript Basic Tutorials - Lesson 8 - Strings




go to home page Homepage go to top of page Top