UCase 函数
将字符串中的小写字符转换成大写字符。
请参阅: LCase 函数
「语法」:
UCase (Text As String)
「返回值」:
字符串
参数:
「Text」:要转换的任意字符串表达式。
示例:
Sub ExampleLUCase
Dim sVar As String
sVar = "Las Vegas"
Print LCase(sVar) ' 返回 "las vegas"
Print UCase(sVar) ' 返回 "LAS VEGAS"
End Sub