using System;
class MainClass {
public static void Main() {
string str = "This is a test";
Console.WriteLine("Original string: " + str);
// Remove
str = str.Remove(4, 5);
Console.WriteLine(str);
}
}
Original string: This is a test
This test
5.17.String Remove |
| 5.17.1. | String removes from start index to end index |