Truncating a String in Javascript

dukyfashion

New Member
I know this is absurd but I am stuck at it I have a filepath using fileupload in asp classicThe filepath is C:\FakePath\3.jpgI want to retrieve it in a variable so that it would only give me 3.jpg\[code\]substring()\[/code\] and \[code\]substr()\[/code\] doesn't include 3 I don't know whylogopath = C:\FakePath\3.jpg;logopath = logopath.substring(10);
 
Back
Top