Search w3schools.com:

SHARE THIS PAGE

VBScript LCase Function


VBScript Reference Complete VBScript Reference

The LCase function converts a specified string to lowercase.

Tip: Also look at the UCase function.

Syntax

LCase(string)

Parameter Description
string Required. The string to be converted to lowercase

Examples

Example 1

<script type="text/vbscript">

txt="THIS IS A BEAUTIFUL DAY!"
document.write(LCase(txt))

</script>

The output of the code above will be:

this is a beautiful day!

Try it yourself »

Example 2

<script type="text/vbscript">

txt="This is a BEAUTIFUL day!"
document.write(LCase(txt))

</script>

The output of the code above will be:

this is a beautiful day!

Try it yourself »

VBScript Reference Complete VBScript Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]