UCase Function /text/sbasic/shared/03120310.xhp
UCase function

UCase Function

Converts lowercase characters in a string to uppercase.
See also: LCase Function UCase (Text As String) String Text: Any string expression that you want to convert. Sub ExampleLUCase Dim sVar As String sVar = "Las Vegas" Print LCase(sVar) ' returns "las vegas" Print UCase(sVar) ' returns "LAS VEGAS" End Sub