{adsafi**ClRf**udsaf**ClRf**adsf....EOF**ClRf** }
из приведенной выше строки, как заменить string.empty между EOF и}
output:
{adsafi**ClRf**udsaf**ClRf**adsf....EOF }**
int lastIndex = input.LastIndexOf("something"); string result = input.Substring(lastIndex); // or string result = input.Substring(lastIndex, length);