运维开发网

VBS教程:函数-LCase 函数

运维开发网 https://www.qedev.com 2020-01-17 02:29 出处:网络 作者: 网络整理
VBS教程:函数-LCase 函数

LCase 函数

返回字符串的小写形式。

LCase(string)

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

说明

仅大写字母转换成小写字母;所有小写字母和非字母字符保持不变。

下面的示例利用 LCase 函数把大写字母转换为小写字母:

Dim MyStringDim LCaseStringMyString = "VBSCript"LCaseString = LCase(MyString) ' LCaseString 包含 "vbscript"
0

精彩评论

暂无评论...
验证码 换一张
取 消