private
string
GetFileName(string
hrefLink)
{
string[]
parts = hrefLink.Split('/');
string
fileName = "";
if
(parts.Length > 0)
fileName
= parts[parts.Length - 1];
else
fileName
= hrefLink;
return
fileName;
}
No comments:
Post a Comment