VBScript LCase Function
Complete VBScript Reference
The LCase function converts a specified string to lowercase.
Tip: Also look at the UCase function.
Syntax
| 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 »
Complete VBScript Reference
Thank You For Helping Us!
Your message has been sent to W3Schools.
Close [X]