TUTORIAL编程语言与算法FETCHED

VBScript LCase 函数

VBScript LCase 函数 完整的 VBScript 参考手册 LCase 函数把指定字符串转换为小写。 提示:请参阅 UCase 函数。 语法 LCase(string) 参数 描述 string 必需。需要被转换为小写的字符串。 实例 实例 1 <script type='text/vbscript'> txt='..

更新于 2026/7/16

教程详情页默认 noindex。

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