Truncating a String in Javascript
<p>I know this is absurd but I am stuck at it </p>

<p>I have a filepath using fileupload in asp classic</p>

<p>The filepath is <em>C:\FakePath\3.jpg</em></p>

<p>I want to retrieve it in a variable so that it would only give me <em>3.jpg</em></p>

<p><code>substring()</code> and <code>substr()</code> doesn't include 3 I don't know why</p>

<pre><code>logopath = C:\FakePath\3.jpg;
logopath = logopath.substring(10);
</code></pre>
