How to get the file name from a full path using JavaScript?
<p>Is there a way that I can get the last value (based on the '\' symbol) from a full path?</p>

<p>Example:</p>

<pre><code>C:\Documents and Settings\img\recycled log.jpg
</code></pre>

<p>With this case, I just want to get <code>recycled log.jpg</code> from the full path in JavaScript.</p>
