title: how to use substring with a file path in c#
body: <p>I know this value should be used Substring but i am not sure how to do this in C#. Your given code much appreciated. thanks!</p>
  
  <p>What i want to change this :</p>
  
  <pre><code>   "C:\\TFS\\Deployment\\files\\1.0.1.1\\test\\test00.xml"
  </code></pre>
  
  <p>to new value:</p>
  
  <pre><code>   "C:\\TFS\\Deployment\\files\\1.0.1.1"
  </code></pre>