文字配列なら
#define DELETE_TEXT(str, n) (str[strlen(str)-(n)] = '\0')
とか?