javascript toLowerCase() method


  Translation results:

UK['ləʊəˌkeɪs] US['loʊrˌkeɪs]

n.lowercase letters;lowercase font

adj.lowercase font

vt.Write in lowercase font

Third person singular: lowercases Plural: lowercases Present participle: lowercasing Past tense: lowercased Past participle: lowercased

javascript toLowerCase() methodsyntax

Function: is used to convert strings to lowercase.

Syntax: stringObject.toLowerCase()

Returns: A new string in which All uppercase characters in stringObject are converted to lowercase characters.

javascript toLowerCase() methodexample

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">

    var str="Hello World!"
    document.write(str.toLowerCase())

</script>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A