title: How to Split File Name and Extension
body: <p>I have a following string:</p>
  
  <pre><code>string ImgName="Image.jpg";
  </code></pre>
  
  <p>Now I want to split the word from "." and save file name and extension in separate string.</p>
  
  <p>Because in my database I want to save file name and its extension name in two different fields.</p>