Contact: aviboots(AT)netvision.net.il
40,026 questions
51,982 answers
573 users
using System; class Program { static void Main() { string str = "c# c++ c python\r\n\n\n\r\n\r\r"; str = str.TrimEnd('\r', '\n'); Console.Write(str); } } /* run: c# c++ c python */