How to get file name without the extension?
<p>Can anyone tell me how to get file name without the extension?
Example:</p>

<pre><code>fileNameWithExt = test.xml;
fileNameWithOutExt = test;
</code></pre>
