fork download
  1. using System;
  2. using System.Linq;
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var str = "GroupOwner_1_2";
  8. var result = string.Join("_", str.Split('_').Reverse().Skip(2).Reverse());
  9. Console.WriteLine(result);
  10. }
  11. }
Success #stdin #stdout 0s 29808KB
stdin
Standard input is empty
stdout
GroupOwner