LCase
返回已转换为小写的String。
语法:LCase$( string ), LCase( string )
- string
- 必需 任意有效的字符串表达式。如果string包含Null,则返回Null。
带$后缀的形式返回String;不带后缀的形式返回Variant(String)。
仅大写字母被转换为小写;所有小写字母和非字母字符保持不变。
示例
本示例使用LCase函数返回字符串的小写版本。
vb
Dim UpperCase, LowerCase
UpperCase = "Hello World 1234" ' String to convert.
LowerCase = LCase(UpperCase) ' Returns "hello world 1234".