Replace substring with another substring : String Replace « Data Type « VB.Net Tutorial






public class Test
   public Shared Sub Main
               Dim s1 As New String("Greeting")
               s1 = s1.Replace("e", "i")
               Console.WriteLine(s1)
   End Sub
End class
Griiting








2.36.String Replace
2.36.1.Replace a sub string with 'Replace'
2.36.2.Replace substring with another substring