title: Split and replace string
body: <p>I have a string in a format:</p>
  
  <pre><code>string path="/fm/Templates/testTemplate/css/article.jpg";
  </code></pre>
  
  <p>I want to split this with second '/' and replace with '/' to '\\' want a result like this.</p>
  
  <pre><code>string newPath="\\Templates\\testTemplate\\css\\article.jpg";
  </code></pre>
  
  <p>My <code>path</code> is dynamic created so folder hierarchy is not fixed. 
  What is the best way to do this.May I split first <code>string path</code> with <code>/</code> and go to loop to re-concate this and repalce with  '/' to '\\' or there any easy way I am missing.</p>