Difference between revisions of "Get File Name From Path"

From Logic Wiki
Jump to: navigation, search
(Created page with "Category:VB.NET Category:ASP.NET Public Shared Function GetFileNameFromPath(FilePath As String) As String Dim ff As String() ff = Split(FilePath,...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 14:27, 9 May 2016


   Public Shared Function GetFileNameFromPath(FilePath As String) As String
       Dim ff As String()
       ff = Split(FilePath, "\")
       Return (ff(ff.Length - 1))
   End Function