title: Selecting a specific part of a string C#
body: <p>I am trying to create a new string, which removes certain characters from an existing string e.g.</p>
  
  <pre><code>string path = "C:\test.txt"
  </code></pre>
  
  <p>so string "pathminus" will take out the "C:\" e.g.</p>
  
  <pre><code>string pathminus = "test.txt"
  </code></pre>