VBScript LCaseFunction
Complete VBScript Reference
The LCase function converts a specified string to lowercase.
Tip:See the UCase function.
Syntax
LCase(string)
| Parameter | Description |
|---|---|
| string | Required. The string to convert to lowercase. |
Examples
Example 1
<script type="text/vbscript">
txt="THIS IS A BEAUTIFUL DAY!"
document.write(LCase(txt))
</script>
txt="THIS IS A BEAUTIFUL DAY!"
document.write(LCase(txt))
</script>
Output of the above example:
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>
txt="This is a BEAUTIFUL day!"
document.write(LCase(txt))
</script>
Output of the above example:
this is a beautiful day!
Try it Yourself »
Complete VBScript Reference Other Extensions