Returns a string or character containing the specified string converted to uppercase.
Public Shared Function UCase(ByVal Value As Char) As Char
-or-
Public Shared Function UCase(ByVal Value As String) As String
Only lowercase letters are converted to uppercase; all uppercase letters and nonletter characters remain unchanged.
This example uses the UCase function to return an uppercase version of a string.
Dim LowerCase, UpperCase As String LowerCase = "Hello World 1234" ' String to convert. UpperCase =UCase(
LowerCase)
' Returns "HELLO WORLD 1234".