LCase
VBScript LCase 函数
LCase 函数把指定字符串转换为小写。
提示:请参阅 UCase 函数。
语法
LCase(string)
参数 | 描述 |
---|---|
string | 必需。需要被转换为小写的字符串。 |
实例
实例 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>
以上实例输出结果:
this is a beautiful day!
实例 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>
以上实例输出结果:
this is a beautiful day!