fork download
  1. using static System.Console;
  2. using System;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. var dir = @"C:\ByMe\SOLUTIONS\Dictation1\Database\Updates\2017\2017_04\";
  7. var partes = dir.Split(new string[] { @"\Updates\" }, StringSplitOptions.None);
  8. WriteLine(partes[1]);
  9. }
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/208381/101
Success #stdin #stdout 0.02s 16312KB
stdin
Standard input is empty
stdout
2017\2017_04\