阅读(4457) (0)

VBScript LCase 函数

2015-09-05 07:24:09 更新

VBScript LCase 函数返回已被转换为小写字母的字符串。


VBScript 参考手册完整的 VBScript 参考手册

LCase 函数把指定字符串转换为小写。

提示:请参阅 UCase 函数。

语法

LCase(string)

参数 描述
string 必需。需要被转换为小写的字符串。

实例

实例 1

<script type="text/vbscript">
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>

以上实例输出结果:

this is a beautiful day!

尝试一下 »

VBScript 参考手册完整的 VBScript 参考手册