Get File Name From Path
From Logic Wiki
Revision as of 11:40, 9 March 2015 by Macrop (Talk) (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,...")
Public Shared Function GetFileNameFromPath(FilePath As String) As String
Dim ff As String()
ff = Split(FilePath, "\")
Return (ff(ff.Length - 1))
End Function