How to get a file's name from the
complete path string With file Extension.

 Posted by vishalneeraj-24503 on 12/14/2013 | Category: VB.NET Interview questions | Views: 997 | Points: 40
Answer:

We use System.IO.Path.GetFileName static method to get the file name.

For Example:-

Dim path1 as String = 

System.IO.Path.GetFileName("string_file_path")


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response