龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > 软件开发 > VB开发 >

VBS教程:函数-LCase 函数

时间:2014-07-09 15:02来源:网络整理 作者:网络 点击:
分享到:
VBS教程:函数-LCase 函数

LCase 函数

返回字符串的小写形式。

LCase(string)

string 参数是任意有效的字符串表达式。如果 string 参数中包含 Null,则返回 Null

说明

仅大写字母转换成小写字母;所有小写字母和非字母字符保持不变。
下面的示例利用 LCase 函数把大写字母转换为小写字母:

Dim MyStringDim LCaseStringMyString = "VBSCript"LCaseString = LCase(MyString) ' LCaseString 包含 "vbscript"
精彩图集

赞助商链接