UCase, UCase$ (functions)

Syntax UCase[$] (text)
Description Returns the uppercase equivalent of the specified string.
Comments UCase$ returns a String , whereas UCase returns a String variant. Null is returned if text is Null .
Example This example uses the UCase$ function to change a string from lowercase to uppercase.
Sub Main()
????a1$ = "this string was lowercase, but was converted."
????a2$ = UCase(a1$)
????MsgBox a2$
End Sub
See Also LCase, LCase$ (functions).