LCase 函数可把指定的字符串转换为小写。
提示:请参阅 UCase 函数。
LCase(string)
参数 | 描述 |
---|---|
string | 必需的。需要被转换为小写的字符串。 |
dim txt txt="THIS IS A BEAUTIFUL DAY!" document.write(LCase(txt))
输出:
this is a beautiful day!
dim txt txt="This Is a Beautiful Day!" document.write(LCase(txt))
输出:
this is a beautiful day!