-1

i need to get file name from string download link for example in this link

~/Documents/files/Login_v4.zip

i need pick "Login_v4.zip" string

how i can do it?

1 Answers1

0

See here for a similar question.

You'll want to use Path.GetFileName("~/Documents/files/Login_v4.zip") for what you're doing.

OliveJuice
  • 368
  • 1
  • 7