Hiee guys,
I have several image urls from which i download the data and save it in db. I use (imageurl.Split('/'))[(imageurl.Split('/').Length) - 1]; to create the filename.
Problem is,there are some urls which contains query string. due to which filenames i get for them have pattern imgname.img_type_extension?somefield=somevalue
How can i get filename.extension leaving query string from above substring??
Thanks for stopping by...