To Lower Case

Converts a string to lower case.

CategoryStrings
AuthorPol Gubau
Since1.0.0
Last Updated2025-03-15
TypeSync
CompatibilityUniversal

Example

  • Input

    toLowerCase('HELLO WORLD')

    Output:

    'hello world'

Return

Returns the lower-cased string.

Type: string

Props

NameTypeDefaultRequiredDescription
strstringnullYesThe string to convert to lower case.

Notes

This function converts all characters of the string to lowercase.

Tags

  • string
  • lowerCase
  • conversion

Related