Mega Code Archive

 
Categories / VB.Net Tutorial / Data Type
 

Replace a sub string with Replace

Class Tester      Shared Sub Main()         Dim userInput As String         userInput = "  asdf  "         Console.WriteLine(Replace(userInput, "f", ""))      End Sub End Class asd