Ravi Kumar Maloth
All code in this blog is well executed..
Friday, June 3, 2016
Split URL with last slash of URL
Get last value of a URL
var
myURL
: "http://ravimaloth:/abcd/rkm/ssts/Word_Thesis_091.ppt" ;
Requirement to get value:
Word_Thesis_091.ppt
var fileName = myURL..match(/[^/]*$/)[0];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment