Returns a string converted to all lowercase letters.




toLower("This is a 30 test.") -- returns "this is a 30 test."
toLower("NO, MAANA!") -- returns "no, maana!"

Use the toLower function to change the case of a string.

Uppercase letters, including special characters with diacritical marks, are converted to the lowercase equivalents. All other characters, including lowercase letters, numbers, punctuation, and special characters with no upper or lower case, are left unchanged by the toLower function.


  • stringToConvert (string): Any string or expression that evaluates to a string.
  • Returns: The toLower function returns a string the same length as the stringToConvert.

See also: toUpper (function),