fork(3) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var res = "Some text - 04.09.1996 - 40-18".Split(new[] {" - "}, StringSplitOptions.RemoveEmptyEntries);
  8. foreach (var s in res)
  9. Console.WriteLine(s);
  10. }
  11. }
Success #stdin #stdout 0s 29672KB
stdin
Standard input is empty
stdout
Some text
04.09.1996
40-18