UCase

The UCase function takes a string as its argument, and returns a string also. This function converts the string to all UPPERCASE characters. The function might be used like this:
Private Sub cmdUpperCase_Click()
     Dim strUpperCase as String
     
     strUpperCase = UCase("please convert me to all uppercase")

     lblResult.Caption = strUpperCase
End Sub
The result of this statement would be that the label lblResult would have a caption of "PLEASE CONVERT ME TO ALL UPPERCASE"

Back to the Visual Basic Commands Metanode

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.