String Inserting : String Insert Replace « String « C# / CSharp Tutorial






using System;  
  
class MainClass {  
  public static void Main() {  
    string str = "This test"; 
 
    Console.WriteLine("Original string: " + str); 
     
    // Insert 
    str = str.Insert(5, "is a "); 
    Console.WriteLine(str); 
 
  } 
}
Original string: This test
This is a test








5.15.String Insert Replace
5.15.1.String Inserting
5.15.2.Replace string
5.15.3.Replace characters
5.15.4.Replace substring
5.15.5.Reversing Characters
5.15.6.Reversing a String