fork download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var text = @"some information 27: some other information
  9. some information 28: some other information
  10. some information 29: some other information";
  11. foreach (var line in text.Split('\n')) {
  12. Console.WriteLine(line.Substring(line.IndexOf(":") + 1).Trim());
  13. }
  14. }
  15. }
Success #stdin #stdout 0.02s 16964KB
stdin
Standard input is empty
stdout
some other information
some other information
some other information