本页内容
上一节: Func_instrrev 下一节: Func_left

VBScript LCase 函数

完整的 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 参考手册

上一节: Func_instrrev 下一节: Func_left
此页面最后编辑于2022年8月17日 (星期三) 17:58。