fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string[] split = "test1&test2".Split('&');
  8. string test1 = split[0];
  9. string test2 = split[1];
  10. Console.WriteLine(test1);
  11. Console.WriteLine(test2);
  12.  
  13. }
  14. }
Success #stdin #stdout 0.02s 33856KB
stdin
Standard input is empty
stdout
test1
test2