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

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

We use System.IO.Path.GetFileNameWithoutExtension static methods to get the file name.

For Example:-

Dim path1 as String = 

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


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response