Change string to upper case by using UCase : String Case « Data Type « VB.Net Tutorial






Class Tester
     Shared Sub Main()
        Dim userInput As String
        userInput = "  asdf  "

        Console.WriteLine(UCase(userInput))
     End Sub

End Class
ASDF








2.30.String Case
2.30.1.Change string to upper case by using UCase
2.30.2.Change string to lower case and upper case
2.30.3.Capitalize the first letter