Organizational Research By

Surprising Reserch Topic

how to get the file name from a full path using javascript


how to get the file name from a full path using javascript  using -'javascript'

Is there a way that I can get the last value (based on the '\' symbol) from a full path?

Example:

C:\Documents and Settings\img\recycled log.jpg


With this case, I just want to get recycled log.jpg from the full path in JavaScript.
    

asked Sep 16, 2015 by nikhilapatil
0 votes
4 views



Related Hot Questions

12 Answers

0 votes
NULL
answered Sep 16, 2015 by vibhorsingh
0 votes
NULL
answered Sep 16, 2015 by akasati02
0 votes
NULL
answered Sep 16, 2015 by rajesh
0 votes
NULL
answered Sep 16, 2015 by r3tt
0 votes
NULL
answered Sep 16, 2015 by atulpariharmca
0 votes
NULL
answered Sep 16, 2015 by mannumits1
0 votes
NULL
answered Sep 16, 2015 by ashishshukla
0 votes
NULL
answered Sep 16, 2015 by virendra.bajaj
0 votes
NULL
answered Sep 16, 2015 by yogeshplv
0 votes
NULL
answered Sep 16, 2015 by param.oncemore
0 votes
NULL
answered Sep 16, 2015 by atulpariharmca
0 votes
NULL
answered Sep 16, 2015 by okesh.badhiye

...