Trim long messages