Код: Выделить всё
string input = "SELECT ENTERPRISE_ID enterpriseId, ENTERPRISE_NAME enterpriseName, EMAIL email, DATEFORMATSTR dateFormatStr, TO_CHAR(DELETEDON,'HH:MI:SS AM') TIME, DELETEDON FROM LOG_FILE_DELETION_DATA WHERE AND COLNAME = '' AND";
Код: Выделить всё
public static string RemoveWord(string str, int start, int end)
{
return str.Substring(0, start) + str.Substring(end, str.Length - end).Trim();
}
Подробнее здесь: https://stackoverflow.com/questions/791 ... rom-string
Мобильная версия