Using UCase Function in VB
UCase function is used to convert a string into UPPER CASE, hence the name UCase. UCase can be applied in your VB programming codes as follows.
Dim myString As String '---Variable declaration
myString = "My house is on FIRE!" '--- initialize string data
myString = UCase(myString) '--- convert the string into UPPER CASE
MsgBox(myString) '--- result is now "MY HOUSE IS ON FIRE"
UCase converts all the lower case letters into upper case while upper case letters will remain as it is.
See Also LCase Function
Subscribe to:
Post Comments (Atom)


0 comments
Post a Comment